Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/nslu2 Get rid of redundant return



details:   https://anonhg.NetBSD.org/src/rev/f781937a931c
branches:  trunk
changeset: 328324:f781937a931c
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Mon Mar 31 10:22:20 2014 +0000

description:
Get rid of redundant return

diffstat:

 sys/arch/evbarm/nslu2/nslu2_pci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4a300676ed84 -r f781937a931c sys/arch/evbarm/nslu2/nslu2_pci.c
--- a/sys/arch/evbarm/nslu2/nslu2_pci.c Mon Mar 31 06:32:31 2014 +0000
+++ b/sys/arch/evbarm/nslu2/nslu2_pci.c Mon Mar 31 10:22:20 2014 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: nslu2_pci.c,v 1.6 2014/03/29 19:28:28 christos Exp $  */
+/*      $NetBSD: nslu2_pci.c,v 1.7 2014/03/31 10:22:20 ozaki-r Exp $   */
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nslu2_pci.c,v 1.6 2014/03/29 19:28:28 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nslu2_pci.c,v 1.7 2014/03/31 10:22:20 ozaki-r Exp $");
 
 /*
  * Linksys NSLU2 PCI support.
@@ -120,7 +120,7 @@
        }
        snprintf(buf, len, "PCI%c", c);
 
-       return return buf;
+       return buf;
 }
 
 static const struct evcnt *



Home | Main Index | Thread Index | Old Index