diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-05-23 03:04:19 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-06-04 23:34:07 -0400 |
commit | fc5fef615a963c8b13abf0bbc2a8e8d7c3fd1ffb (patch) | |
tree | 614f9fe99a8005afb6be1e97e4bd1c9f281512e5 /net | |
parent | 6039aa73a1323edc2d6d93a22505d4dc28f38e3f (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')
-rw-r--r-- | net/bluetooth/hci_conn.c | 2 | ||||
-rw-r--r-- | net/bluetooth/hci_sock.c | 2 | ||||
-rw-r--r-- | net/bluetooth/sco.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index da9f827241d0..0d73577b84cb 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c | |||
@@ -799,7 +799,7 @@ EXPORT_SYMBOL(hci_conn_put_device); | |||
799 | 799 | ||
800 | int hci_get_conn_list(void __user *arg) | 800 | int hci_get_conn_list(void __user *arg) |
801 | { | 801 | { |
802 | register struct hci_conn *c; | 802 | struct hci_conn *c; |
803 | struct hci_conn_list_req req, *cl; | 803 | struct hci_conn_list_req req, *cl; |
804 | struct hci_conn_info *ci; | 804 | struct hci_conn_info *ci; |
805 | struct hci_dev *hdev; | 805 | struct hci_dev *hdev; |
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; |
diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 824ae2fd15eb..6401ccae2045 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c | |||
@@ -908,7 +908,7 @@ done: | |||
908 | /* ----- SCO interface with lower layer (HCI) ----- */ | 908 | /* ----- SCO interface with lower layer (HCI) ----- */ |
909 | int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr) | 909 | int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr) |
910 | { | 910 | { |
911 | register struct sock *sk; | 911 | struct sock *sk; |
912 | struct hlist_node *node; | 912 | struct hlist_node *node; |
913 | int lm = 0; | 913 | int lm = 0; |
914 | 914 | ||