From: Nick Sillik Date: Wed, 17 Aug 2005 17:37:34 +0000 (-0400) Subject: [PATCH] USB Storage: code cleanups for onetouch.c X-Git-Tag: v2.6.14-rc1~492^2~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6450e19329c85ac4888c185429094236a650928;p=pandora-kernel.git [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: Nick Sillik Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed