]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28ef779eaae381feae5c87faed5c62de0ddbf8c0
tree86912cf70564f5ae5891621a761f6c834110bb5f
parent882288b3d2ef97686f63e5dc26b505dadccd4bce
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