aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_sock.c
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-05-23 03:04:19 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-04 23:34:07 -0400
commitfc5fef615a963c8b13abf0bbc2a8e8d7c3fd1ffb (patch)
tree614f9fe99a8005afb6be1e97e4bd1c9f281512e5 /net/bluetooth/hci_sock.c
parent6039aa73a1323edc2d6d93a22505d4dc28f38e3f (diff)
Bluetooth: Remove 'register' usage from the subsystem
Let the compiler chooses what is best. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_sock.c')
-rw-r--r--net/bluetooth/hci_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c
index 89767ad095de..c1e0c3df5e6c 100644
--- a/net/bluetooth/hci_sock.c
+++ b/net/bluetooth/hci_sock.c
@@ -118,7 +118,7 @@ void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb)
118 continue; 118 continue;
119 119
120 if (bt_cb(skb)->pkt_type == HCI_EVENT_PKT) { 120 if (bt_cb(skb)->pkt_type == HCI_EVENT_PKT) {
121 register int evt = (*(__u8 *)skb->data & HCI_FLT_EVENT_BITS); 121 int evt = (*(__u8 *)skb->data & HCI_FLT_EVENT_BITS);
122 122
123 if (!hci_test_bit(evt, &flt->event_mask)) 123 if (!hci_test_bit(evt, &flt->event_mask))
124 continue; 124 continue;