Skip to content
Commit d6450e19 authored by Nick Sillik's avatar Nick Sillik Committed by Greg Kroah-Hartman
Browse files

[PATCH] USB Storage: code cleanups for onetouch.c



As sugested by Alan Stern here are a few code cleanups for onetouch.c:

-Check number of endpoints before directly referencing intf->endpoint[2]
-Use defined constants instead of magic numbers
-Revmove the non-ascii characters from copyright notice
-Make registration and deregistration messages more similar

Signed-off-by: default avatarNick Sillik <n.sillik@temple.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 02568396
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment