aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hidp
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-05-23 03:04:18 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-04 23:34:07 -0400
commit6039aa73a1323edc2d6d93a22505d4dc28f38e3f (patch)
treefd1e0de2e823a0fa53234685cd21bf0f5e4b1a4d /net/bluetooth/hidp
parent4f42a8cd4905e69ba4dd694d9338aeee1bb7e9ab (diff)
Bluetooth: Remove most of the inline usage
Only obvious cases were left as inline, mostly oneline functions. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hidp')
-rw-r--r--net/bluetooth/hidp/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c
index 2c20d765b39..c8625b8ccb6 100644
--- a/net/bluetooth/hidp/core.c
+++ b/net/bluetooth/hidp/core.c
@@ -268,7 +268,7 @@ static int __hidp_send_ctrl_message(struct hidp_session *session,
268 return 0; 268 return 0;
269} 269}
270 270
271static inline int hidp_send_ctrl_message(struct hidp_session *session, 271static int hidp_send_ctrl_message(struct hidp_session *session,
272 unsigned char hdr, unsigned char *data, int size) 272 unsigned char hdr, unsigned char *data, int size)
273{ 273{
274 int err; 274 int err;
@@ -471,7 +471,7 @@ static void hidp_set_timer(struct hidp_session *session)
471 mod_timer(&session->timer, jiffies + HZ * session->idle_to); 471 mod_timer(&session->timer, jiffies + HZ * session->idle_to);
472} 472}
473 473
474static inline void hidp_del_timer(struct hidp_session *session) 474static void hidp_del_timer(struct hidp_session *session)
475{ 475{
476 if (session->idle_to > 0) 476 if (session->idle_to > 0)
477 del_timer(&session->timer); 477 del_timer(&session->timer);