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

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


commit 9de4e294dc1ddfd456c28d8e42e1287d8e9858cb
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/9de4e294dc1ddfd456c28d8e42e1287d8e9858cb


-- 
DragonFly BSD source repository





More information about the Commits mailing list