diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-01-16 18:09:38 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-01-19 09:43:08 -0500 |
commit | 42b16b3fbb5ee4555f5dee6220f3ccaa6e1ebe47 (patch) | |
tree | 966c1266afca5dd0e59cace37f7cd49577bdf0e2 /drivers/bluetooth | |
parent | f0940cee222790e6e995a23f25c4ffb23f939a24 (diff) |
Kill off warning: ‘inline’ is not at beginning of declaration
Fix a bunch of
warning: ‘inline’ is not at beginning of declaration
messages when building a 'make allyesconfig' kernel with -Wextra.
These warnings are trivial to kill, yet rather annoying when building with
-Wextra.
The more we can cut down on pointless crap like this the better (IMHO).
A previous patch to do this for a 'allnoconfig' build has already been
merged. This just takes the cleanup a little further.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/btusb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 1da773f899a2..92d29bfa2f48 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c | |||
@@ -424,7 +424,7 @@ static void btusb_isoc_complete(struct urb *urb) | |||
424 | } | 424 | } |
425 | } | 425 | } |
426 | 426 | ||
427 | static void inline __fill_isoc_descriptor(struct urb *urb, int len, int mtu) | 427 | static inline void __fill_isoc_descriptor(struct urb *urb, int len, int mtu) |
428 | { | 428 | { |
429 | int i, offset = 0; | 429 | int i, offset = 0; |
430 | 430 | ||
@@ -775,7 +775,7 @@ static void btusb_notify(struct hci_dev *hdev, unsigned int evt) | |||
775 | } | 775 | } |
776 | } | 776 | } |
777 | 777 | ||
778 | static int inline __set_isoc_interface(struct hci_dev *hdev, int altsetting) | 778 | static inline int __set_isoc_interface(struct hci_dev *hdev, int altsetting) |
779 | { | 779 | { |
780 | struct btusb_data *data = hdev->driver_data; | 780 | struct btusb_data *data = hdev->driver_data; |
781 | struct usb_interface *intf = data->isoc; | 781 | struct usb_interface *intf = data->isoc; |