Commit 70be0464 authored by Chen Lin's avatar Chen Lin Committed by Greg Kroah-Hartman
Browse files

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

parent e21a2e0a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;