summaryrefslogtreecommitdiff
path: root/include/usb_mass_storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_mass_storage.h')
-rw-r--r--include/usb_mass_storage.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/usb_mass_storage.h b/include/usb_mass_storage.h
index 058dcf11740..ed460644c1f 100644
--- a/include/usb_mass_storage.h
+++ b/include/usb_mass_storage.h
@@ -40,13 +40,5 @@ int fsg_init(struct ums *);
void fsg_cleanup(void);
struct ums *ums_init(unsigned int);
int fsg_main_thread(void *);
-
-#ifdef CONFIG_USB_GADGET_MASS_STORAGE
int fsg_add(struct usb_configuration *c);
-#else
-int fsg_add(struct usb_configuration *c)
-{
- return 0;
-}
-#endif
#endif /* __USB_MASS_STORAGE_H__ */