diff options
author | Joe Perches <joe@perches.com> | 2010-12-09 19:29:05 -0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-12-10 15:12:22 +0100 |
commit | 16ee4cc82b5dbb81a5dbfedcdb268b9467fe4605 (patch) | |
tree | 498aaac0e2d5713556c4aaf2a440df8182c055a1 /drivers/hid | |
parent | fe2580204d8bbcd18540736a283ed0b784c6a024 (diff) | |
download | kernel_samsung_espresso10-16ee4cc82b5dbb81a5dbfedcdb268b9467fe4605.zip kernel_samsung_espresso10-16ee4cc82b5dbb81a5dbfedcdb268b9467fe4605.tar.gz kernel_samsung_espresso10-16ee4cc82b5dbb81a5dbfedcdb268b9467fe4605.tar.bz2 |
HID: Remove superfluous __inline__
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-core.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 5ddace0..e6b9062 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -739,8 +739,8 @@ static u32 s32ton(__s32 value, unsigned n) * Search linux-kernel and linux-usb-devel archives for "hid-core extract". */ -static __inline__ __u32 extract(const struct hid_device *hid, __u8 *report, - unsigned offset, unsigned n) +static __u32 extract(const struct hid_device *hid, __u8 *report, + unsigned offset, unsigned n) { u64 x; @@ -763,8 +763,8 @@ static __inline__ __u32 extract(const struct hid_device *hid, __u8 *report, * endianness of register values by considering a register * a "cached" copy of the little endiad bit stream. */ -static __inline__ void implement(const struct hid_device *hid, __u8 *report, - unsigned offset, unsigned n, __u32 value) +static void implement(const struct hid_device *hid, __u8 *report, + unsigned offset, unsigned n, __u32 value) { u64 x; u64 m = (1ULL << n) - 1; @@ -792,7 +792,7 @@ static __inline__ void implement(const struct hid_device *hid, __u8 *report, * Search an array for a value. */ -static __inline__ int search(__s32 *array, __s32 value, unsigned n) +static int search(__s32 *array, __s32 value, unsigned n) { while (n--) { if (*array++ == value) |