Source-Changes archive

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

CVS commit: src/sys/dev/usb

Module Name:    src
Committed By:   skrll
Date:           Sat Jan 26 07:52:17 UTC 2013

Modified Files:
        src/sys/dev/usb: if_smsc.c

Log Message:
Simplify the code by only checking for total_len < pktlen once. The second
check was actually wrong - found by matt@ and clang.

To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/usb/if_smsc.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