Skip to content

Commit

Permalink
usb: gadget: f_mass_storage: remove deprecated fsg_add()
Browse files Browse the repository at this point in the history
There are no in-tree fsg_add() users and it has been deprecated
since 2.6.35 [1dc9098: 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>
  • Loading branch information
Michal Nazarewicz authored and Felipe Balbi committed May 4, 2012
1 parent cac402d commit c248460
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/usb/gadget/f_mass_storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *************************/

Expand Down

0 comments on commit c248460

Please sign in to comment.