git: DragonFly_RELEASE_2_12 lgue(4): Fix an issue and do some cleanup.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Oct 16 09:51:43 PDT 2011


commit 0c93e196d49f5c4757c6bcd4bd93c37d687f778f
Author: Sascha Wildner <saw at online.de>
Date:   Sun Oct 16 18:48:57 2011 +0200

    lgue(4): Fix an issue and do some cleanup.
    
    In lgue_getmtu(), ced->wMaxSegmentSize was being referenced with ced
    being either uninitialized or NULL.
    
    While here, remove an unused variable and remove an extra 0 in the
    USB_DEVICE().

Summary of changes:
 sys/dev/netif/lgue/if_lgue.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0c93e196d49f5c4757c6bcd4bd93c37d687f778f


-- 
DragonFly BSD source repository





More information about the Commits mailing list