USB: gadget: dbgp: cleanup: remove unneeded check
authorDan Carpenter <error27@gmail.com>
Thu, 12 Aug 2010 07:40:30 +0000 (09:40 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:21:19 +0000 (10:21 -0700)
commitc6a76781da6b7ee2589a6ec87be30abdbc303384
tree84443f9144aa0d260086e640fd0c9298b26e9ff3
parent912c93d1606f60932de3e2f31db3722a9f069ed9
USB: gadget: dbgp: cleanup: remove unneeded check

len is always greater than or equal to zero here.  First of all, it's
type is unsigned and also we only assign it numbers which are greater
than or equal to zero.

Removing the check lets us pull everything in an indent level.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Stephane duverger <stephane.duverger@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dbgp.c