mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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>
This commit is contained in:
parent
cac402dd08
commit
c2484606a1
@ -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 *************************/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user