diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2012-03-16 12:25:42 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-05-04 15:53:05 +0300 |
commit | c2484606a105e35a9bbbfafa41ee32683b82cf5a (patch) | |
tree | 996c60c8cbc23d886111765d2b7d470329f76b26 /drivers | |
parent | cac402dd0832e9c63929eff70d6766cd8623e5fc (diff) | |
download | linux-stable-c2484606a105e35a9bbbfafa41ee32683b82cf5a.tar.gz linux-stable-c2484606a105e35a9bbbfafa41ee32683b82cf5a.tar.bz2 linux-stable-c2484606a105e35a9bbbfafa41ee32683b82cf5a.zip |
usb: gadget: f_mass_storage: remove deprecated fsg_add()
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/f_mass_storage.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/usb/gadget/f_mass_storage.c b/drivers/usb/gadget/f_mass_storage.c index a371e966425f..47383f4d7efd 100644 --- a/drivers/usb/gadget/f_mass_storage.c +++ b/drivers/usb/gadget/f_mass_storage.c @@ -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 *************************/ |