Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16ee4cc8 authored by Joe Perches's avatar Joe Perches Committed by Jiri Kosina
Browse files

HID: Remove superfluous __inline__



Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent fe258020
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -739,7 +739,7 @@ static u32 s32ton(__s32 value, unsigned n)
 * Search linux-kernel and linux-usb-devel archives for "hid-core extract".
 * Search linux-kernel and linux-usb-devel archives for "hid-core extract".
 */
 */


static __inline__ __u32 extract(const struct hid_device *hid, __u8 *report,
static __u32 extract(const struct hid_device *hid, __u8 *report,
		     unsigned offset, unsigned n)
		     unsigned offset, unsigned n)
{
{
	u64 x;
	u64 x;
@@ -763,7 +763,7 @@ static __inline__ __u32 extract(const struct hid_device *hid, __u8 *report,
 * endianness of register values by considering a register
 * endianness of register values by considering a register
 * a "cached" copy of the little endiad bit stream.
 * a "cached" copy of the little endiad bit stream.
 */
 */
static __inline__ void implement(const struct hid_device *hid, __u8 *report,
static void implement(const struct hid_device *hid, __u8 *report,
		      unsigned offset, unsigned n, __u32 value)
		      unsigned offset, unsigned n, __u32 value)
{
{
	u64 x;
	u64 x;
@@ -792,7 +792,7 @@ static __inline__ void implement(const struct hid_device *hid, __u8 *report,
 * Search an array for a value.
 * 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--) {
	while (n--) {
		if (*array++ == value)
		if (*array++ == value)