usb: gadget: printer: delete some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Mar 2015 09:11:06 +0000 (12:11 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 13 Mar 2015 15:40:57 +0000 (10:40 -0500)
commitfdb51e3d97552413c851bf8426ef69508389df88
tree60678de18dcb6d4bf2217f00fd63ecf31e8064e3
parentd4ae02cc904d916ea6b292e61b79fd3497054067
usb: gadget: printer: delete some dead code

"num" is a u16 so it can't go higher than 65535.  kstrtou16() has a
range check built in so this is already handled.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_printer.c