Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/marvell this is not python (add braces)



details:   https://anonhg.NetBSD.org/src/rev/147cabc43011
branches:  trunk
changeset: 332454:147cabc43011
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 21 17:00:35 2014 +0000

description:
this is not python (add braces)

diffstat:

 sys/dev/marvell/if_gfe.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r a8848804c4af -r 147cabc43011 sys/dev/marvell/if_gfe.c
--- a/sys/dev/marvell/if_gfe.c  Sun Sep 21 16:58:42 2014 +0000
+++ b/sys/dev/marvell/if_gfe.c  Sun Sep 21 17:00:35 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gfe.c,v 1.42 2014/08/10 16:44:35 tls Exp $  */
+/*     $NetBSD: if_gfe.c,v 1.43 2014/09/21 17:00:35 christos Exp $     */
 
 /*
  * Copyright (c) 2002 Allegro Networks, Inc., Wasabi Systems, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gfe.c,v 1.42 2014/08/10 16:44:35 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gfe.c,v 1.43 2014/09/21 17:00:35 christos Exp $");
 
 #include "opt_inet.h"
 
@@ -2018,9 +2018,10 @@
 
        error = gfe_hash_entry_op(sc, GE_HASH_ADD, GE_RXPRIO_HI,
            CLLADDR(sc->sc_ec.ec_if.if_sadl));
-       if (error)
+       if (error) {
                GE_FUNC_EXIT(sc, "!");
                return error;
+       }
 
        sc->sc_flags &= ~GE_ALLMULTI;
        if ((sc->sc_ec.ec_if.if_flags & IFF_PROMISC) == 0)



Home | Main Index | Thread Index | Old Index