aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-12-09 22:29:05 -0500
committerJiri Kosina <jkosina@suse.cz>2010-12-10 09:12:22 -0500
commit16ee4cc82b5dbb81a5dbfedcdb268b9467fe4605 (patch)
tree498aaac0e2d5713556c4aaf2a440df8182c055a1
parentfe2580204d8bbcd18540736a283ed0b784c6a024 (diff)
HID: Remove superfluous __inline__
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/hid-core.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 5ddace093f0f..e6b90622e4eb 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -739,8 +739,8 @@ static u32 s32ton(__s32 value, unsigned n)
739 * Search linux-kernel and linux-usb-devel archives for "hid-core extract". 739 * Search linux-kernel and linux-usb-devel archives for "hid-core extract".
740 */ 740 */
741 741
742static __inline__ __u32 extract(const struct hid_device *hid, __u8 *report, 742static __u32 extract(const struct hid_device *hid, __u8 *report,
743 unsigned offset, unsigned n) 743 unsigned offset, unsigned n)
744{ 744{
745 u64 x; 745 u64 x;
746 746
@@ -763,8 +763,8 @@ static __inline__ __u32 extract(const struct hid_device *hid, __u8 *report,
763 * endianness of register values by considering a register 763 * endianness of register values by considering a register
764 * a "cached" copy of the little endiad bit stream. 764 * a "cached" copy of the little endiad bit stream.
765 */ 765 */
766static __inline__ void implement(const struct hid_device *hid, __u8 *report, 766static void implement(const struct hid_device *hid, __u8 *report,
767 unsigned offset, unsigned n, __u32 value) 767 unsigned offset, unsigned n, __u32 value)
768{ 768{
769 u64 x; 769 u64 x;
770 u64 m = (1ULL << n) - 1; 770 u64 m = (1ULL << n) - 1;
@@ -792,7 +792,7 @@ static __inline__ void implement(const struct hid_device *hid, __u8 *report,
792 * Search an array for a value. 792 * Search an array for a value.
793 */ 793 */
794 794
795static __inline__ int search(__s32 *array, __s32 value, unsigned n) 795static int search(__s32 *array, __s32 value, unsigned n)
796{ 796{
797 while (n--) { 797 while (n--) {
798 if (*array++ == value) 798 if (*array++ == value)