Bluetooth: Remove unused event mask struct
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Sep 2013 10:05:12 +0000 (13:05 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 18 Sep 2013 17:43:55 +0000 (12:43 -0500)
The struct for HCI_Set_Event_Mask is never used. Instead a local 8-byte
array is used for sending this command. Therefore, remove the
unnecessary struct definition.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci.h

index 30c88b585c1bd101b4096101e07d3e9e5d9e9de8..52bd2488ff4a0183b29094b50d9b748a3224a898 100644 (file)
@@ -694,9 +694,6 @@ struct hci_cp_sniff_subrate {
 } __packed;
 
 #define HCI_OP_SET_EVENT_MASK          0x0c01
-struct hci_cp_set_event_mask {
-       __u8     mask[8];
-} __packed;
 
 #define HCI_OP_RESET                   0x0c03