bluetooth: uninlining

Remove all those inlines which were either a) unneeded or b) increased code
size.

text data bss dec hex filename
before: 6997 74 8 7079 1ba7 net/bluetooth/hidp/core.o
after: 6492 74 8 6574 19ae net/bluetooth/hidp/core.o

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Andrew Morton and committed by David S. Miller 91f5cca3 eff001e3

+19 -11
+19 -11
net/bluetooth/hidp/core.c
··· 135 } 136 } 137 138 - static inline int hidp_queue_event(struct hidp_session *session, struct input_dev *dev, 139 - unsigned int type, unsigned int code, int value) 140 { 141 unsigned char newleds; 142 struct sk_buff *skb; ··· 243 input_sync(dev); 244 } 245 246 - static inline int hidp_queue_report(struct hidp_session *session, unsigned char *data, int size) 247 { 248 struct sk_buff *skb; 249 ··· 288 hidp_schedule(session); 289 } 290 291 - static inline void hidp_set_timer(struct hidp_session *session) 292 { 293 if (session->idle_to > 0) 294 mod_timer(&session->timer, jiffies + HZ * session->idle_to); ··· 333 return err; 334 } 335 336 - static inline void hidp_process_handshake(struct hidp_session *session, unsigned char param) 337 { 338 BT_DBG("session %p param 0x%02x", session, param); 339 ··· 367 } 368 } 369 370 - static inline void hidp_process_hid_control(struct hidp_session *session, unsigned char param) 371 { 372 BT_DBG("session %p param 0x%02x", session, param); 373 ··· 382 } 383 } 384 385 - static inline void hidp_process_data(struct hidp_session *session, struct sk_buff *skb, unsigned char param) 386 { 387 BT_DBG("session %p skb %p len %d param 0x%02x", session, skb, skb->len, param); 388 ··· 410 } 411 } 412 413 - static inline void hidp_recv_ctrl_frame(struct hidp_session *session, struct sk_buff *skb) 414 { 415 unsigned char hdr, type, param; 416 ··· 445 kfree_skb(skb); 446 } 447 448 - static inline void hidp_recv_intr_frame(struct hidp_session *session, struct sk_buff *skb) 449 { 450 unsigned char hdr; 451 ··· 614 return conn ? &conn->dev : NULL; 615 } 616 617 - static inline int hidp_setup_input(struct hidp_session *session, struct hidp_connadd_req *req) 618 { 619 struct input_dev *input = session->input; 620 int i; ··· 692 hid->quirks = hidp_blacklist[n].quirks; 693 } 694 695 - static inline void hidp_setup_hid(struct hidp_session *session, struct hidp_connadd_req *req) 696 { 697 struct hid_device *hid = session->hid; 698 struct hid_report *report;
··· 135 } 136 } 137 138 + static int hidp_queue_event(struct hidp_session *session, struct input_dev *dev, 139 + unsigned int type, unsigned int code, int value) 140 { 141 unsigned char newleds; 142 struct sk_buff *skb; ··· 243 input_sync(dev); 244 } 245 246 + static int hidp_queue_report(struct hidp_session *session, 247 + unsigned char *data, int size) 248 { 249 struct sk_buff *skb; 250 ··· 287 hidp_schedule(session); 288 } 289 290 + static void hidp_set_timer(struct hidp_session *session) 291 { 292 if (session->idle_to > 0) 293 mod_timer(&session->timer, jiffies + HZ * session->idle_to); ··· 332 return err; 333 } 334 335 + static void hidp_process_handshake(struct hidp_session *session, 336 + unsigned char param) 337 { 338 BT_DBG("session %p param 0x%02x", session, param); 339 ··· 365 } 366 } 367 368 + static void hidp_process_hid_control(struct hidp_session *session, 369 + unsigned char param) 370 { 371 BT_DBG("session %p param 0x%02x", session, param); 372 ··· 379 } 380 } 381 382 + static void hidp_process_data(struct hidp_session *session, struct sk_buff *skb, 383 + unsigned char param) 384 { 385 BT_DBG("session %p skb %p len %d param 0x%02x", session, skb, skb->len, param); 386 ··· 406 } 407 } 408 409 + static void hidp_recv_ctrl_frame(struct hidp_session *session, 410 + struct sk_buff *skb) 411 { 412 unsigned char hdr, type, param; 413 ··· 440 kfree_skb(skb); 441 } 442 443 + static void hidp_recv_intr_frame(struct hidp_session *session, 444 + struct sk_buff *skb) 445 { 446 unsigned char hdr; 447 ··· 608 return conn ? &conn->dev : NULL; 609 } 610 611 + static int hidp_setup_input(struct hidp_session *session, 612 + struct hidp_connadd_req *req) 613 { 614 struct input_dev *input = session->input; 615 int i; ··· 685 hid->quirks = hidp_blacklist[n].quirks; 686 } 687 688 + static void hidp_setup_hid(struct hidp_session *session, 689 + struct hidp_connadd_req *req) 690 { 691 struct hid_device *hid = session->hid; 692 struct hid_report *report;