usb: gadget: storage: get rid of fsg_num_buffers_validate()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 12 May 2016 13:06:41 +0000 (16:06 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:30:03 +0000 (12:30 +0300)
commitfe5a6c48fd954489f51aab151d5dad9254c76419
treec12f250168bd0a1fdf8552e0c225788634462f55
parent33688abb2802ff3a230bd2441f765477b94cc89e
usb: gadget: storage: get rid of fsg_num_buffers_validate()

valid range for storage buffers is encoded in
Kconfig already. Instead of checking again, let's
drop fsg_num_buffers_validate() altogether.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_mass_storage.c