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