net: bluetooth: compact struct bt_skb_cb by inlining struct hci_req_ctrl
authorEyal Birger <eyal.birger@gmail.com>
Sun, 1 Mar 2015 12:58:25 +0000 (14:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2015 05:19:29 +0000 (00:19 -0500)
commit49a6fe055739a77ef910c283efb99928423c97a0
tree86912cf70564f5ae5891621a761f6c834110bb5f
parent287f3a943fef58c5c73e42545169443be379222f
net: bluetooth: compact struct bt_skb_cb by inlining struct hci_req_ctrl

struct hci_req_ctrl is never used outside of struct bt_skb_cb;
Inlining it frees 8 bytes on a 64 bit system in skb->cb[] allowing
the addition of more ancillary data.

Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Reviewed-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/bluetooth/bluetooth.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/hci_request.c
net/bluetooth/hci_sock.c