Source-Changes archive

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

CVS commit: src/sys/net



Module Name:    src
Committed By:   dyoung
Date:           Wed Mar 12 18:22:24 UTC 2008

Modified Files:
        src/sys/net: if_ecosubr.c if_ethersubr.c

Log Message:
Make some cosmetic changes:

        Use fewer 'error = ...; break;' statements and more 'return
        ...;'

        Make the SIOCSIFFLAGS case more clear by using a switch
        statement instead of an if-else if-else chain.

        Shorten a staircase, and remove two unnecessary curly
        braces.


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sys/net/if_ecosubr.c
cvs rdiff -r1.162 -r1.163 src/sys/net/if_ethersubr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index