diff options
author | Laurent Pinchart <laurent.pinchart@skynet.be> | 2009-06-21 23:21:55 +0200 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-07-20 10:16:32 +1000 |
commit | 911c82f4093ab25ce7bf5532ccbfcde48d2e8ac3 (patch) | |
tree | 07b8662ddaf9e4ae6f5df1e9fa4c409633781b0d /include | |
parent | 44e5dcb39805b65e5e92a0e45f6fb7dec62c03b1 (diff) |
USB audio gadget: Un-inline generic_[gs]et_cmd
Those functions are used only used to fill the set/get members of
usb_audio_control. It doesn't make much sense to inline them.
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/audio.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/usb/audio.h b/include/linux/usb/audio.h index c3edfcb72c34..7b33c493917f 100644 --- a/include/linux/usb/audio.h +++ b/include/linux/usb/audio.h @@ -285,18 +285,6 @@ struct usb_audio_control { int (*get)(struct usb_audio_control *con, u8 cmd); }; -static inline int generic_set_cmd(struct usb_audio_control *con, u8 cmd, int value) -{ - con->data[cmd] = value; - - return 0; -} - -static inline int generic_get_cmd(struct usb_audio_control *con, u8 cmd) -{ - return con->data[cmd]; -} - struct usb_audio_control_selector { struct list_head list; struct list_head control; |