Skip to contentSkip to conversation

usb: gadget: storage: Remove unused function pointer typedef fsg_routine_t

PATCH New Chen Lin 1 participant 1 message Feb 15, 2021 USB

lore
Share & tools
lore

Chen Lin

author
#0 lore raw

PATCH 1/1 usb: gadget: storage: Remove unused function pointer typedef fsg_routine_t

Remove the 'fsg_routine_t' typedef as it is not used.

---
 drivers/usb/gadget/function/f_mass_storage.c |    2 --
 1 file changed, 2 deletions(-)
drivers/usb/gadget/function/f_mass_storage.c +0 -2
index 950c943..4a47036 100644
@@ -351,8 +351,6 @@ static inline struct fsg_dev *fsg_from_func(struct usb_function *f)
 	return container_of(f, struct fsg_dev, function);
 }
 
-typedef void (*fsg_routine_t)(struct fsg_dev *);
-
 static int exception_in_progress(struct fsg_common *common)
 {
 	return common->state > FSG_STATE_NORMAL;
Signature · 1 line
1.7.9.5