usb: gadget: storage_common: Drop #ifdefs used for the sake of FSG.
authorMichal Nazarewicz <mina86@mina86.com>
Tue, 6 Nov 2012 21:52:38 +0000 (22:52 +0100)
committerFelipe Balbi <balbi@ti.com>
Thu, 8 Nov 2012 14:03:35 +0000 (16:03 +0200)
commit8575f7a70610c89135c374e4305421c41e39e810
tree313f8ec1736fb4db9320df7094ab061b47451d20
parentc7800a34acac2dcb3e8d8038013e2dbea76bd8a9
usb: gadget: storage_common: Drop #ifdefs used for the sake of FSG.

storage_common.c has been used by both file_storage.c and f_mass_storage.c
which had some different requirements in a few places.  To accomodate for
that, storage_common.c provided configuratian macros which were to be
defined (or not) prior to the file #inclusion.  Because now
file_storage.c is no longer with us, we can remove support for those
macros and thus simplify the code slightly.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_mass_storage.c
drivers/usb/gadget/storage_common.c