mirror of https://gitee.com/openkylin/linux.git
usb: gadget: storage: Remove unused function pointer typedef fsg_routine_t
Remove the 'fsg_routine_t' typedef as it is not used. Signed-off-by: Chen Lin <chen.lin5@zte.com.cn> Link: https://lore.kernel.org/r/1613384130-3028-1-git-send-email-chen45464546@163.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e21a2e0a0f
commit
70be046404
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue