Bluetooth: hci_ll: Use skb_put_u8 instead of struct hcill_cmd
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 20 Mar 2018 08:31:04 +0000 (09:31 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 1 Apr 2018 12:25:31 +0000 (14:25 +0200)
commit9bef22fb00cbfc6400c52c265c6c5ebcb6bfc1d1
tree827a418c52068f730df0aab369656b435b444da0
parent9376e4a5a318e1dbf1c53a31cfbe919e0ba926b0
Bluetooth: hci_ll: Use skb_put_u8 instead of struct hcill_cmd

The struct hcill_cmd to create an skb with a single u8 is pointless. So
just use skb_put_u8 instead.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/hci_ll.c