]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: gadget: f_mass_storage: remove deprecated fsg_add()
authorMichal Nazarewicz <mina86@mina86.com>
Fri, 16 Mar 2012 11:25:42 +0000 (12:25 +0100)
committerFelipe Balbi <balbi@ti.com>
Fri, 4 May 2012 12:53:05 +0000 (15:53 +0300)
There are no in-tree fsg_add() users and it has been deprecated
since 2.6.35 [1dc90985d1: fsg_add() renamed to fsg_bind_config()] so
out-of-tree users had more then enough time to convert.  Removing.

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

index a371e966425fce2ccf391e13d2d523f02bee52c3..47383f4d7efd0d8e427bb476960980332efe11d6 100644 (file)
@@ -3110,13 +3110,6 @@ static int fsg_bind_config(struct usb_composite_dev *cdev,
        return rc;
 }
 
-static inline int __deprecated __maybe_unused
-fsg_add(struct usb_composite_dev *cdev, struct usb_configuration *c,
-       struct fsg_common *common)
-{
-       return fsg_bind_config(cdev, c, common);
-}
-
 
 /************************* Module parameters *************************/