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 /drivers/bluetooth/hci_ll.c | |
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 'drivers/bluetooth/hci_ll.c')
-rw-r--r-- | drivers/bluetooth/hci_ll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/bluetooth/hci_ll.c b/drivers/bluetooth/hci_ll.c index b874c0efde24..ff6d589c34a5 100644 --- a/drivers/bluetooth/hci_ll.c +++ b/drivers/bluetooth/hci_ll.c | |||
@@ -348,7 +348,7 @@ static int ll_enqueue(struct hci_uart *hu, struct sk_buff *skb) | |||
348 | 348 | ||
349 | static inline int ll_check_data_len(struct ll_struct *ll, int len) | 349 | static inline int ll_check_data_len(struct ll_struct *ll, int len) |
350 | { | 350 | { |
351 | register int room = skb_tailroom(ll->rx_skb); | 351 | int room = skb_tailroom(ll->rx_skb); |
352 | 352 | ||
353 | BT_DBG("len %d room %d", len, room); | 353 | BT_DBG("len %d room %d", len, room); |
354 | 354 | ||
@@ -374,11 +374,11 @@ static inline int ll_check_data_len(struct ll_struct *ll, int len) | |||
374 | static int ll_recv(struct hci_uart *hu, void *data, int count) | 374 | static int ll_recv(struct hci_uart *hu, void *data, int count) |
375 | { | 375 | { |
376 | struct ll_struct *ll = hu->priv; | 376 | struct ll_struct *ll = hu->priv; |
377 | register char *ptr; | 377 | char *ptr; |
378 | struct hci_event_hdr *eh; | 378 | struct hci_event_hdr *eh; |
379 | struct hci_acl_hdr *ah; | 379 | struct hci_acl_hdr *ah; |
380 | struct hci_sco_hdr *sh; | 380 | struct hci_sco_hdr *sh; |
381 | register int len, type, dlen; | 381 | int len, type, dlen; |
382 | 382 | ||
383 | BT_DBG("hu %p count %d rx_state %ld rx_count %ld", hu, count, ll->rx_state, ll->rx_count); | 383 | BT_DBG("hu %p count %d rx_state %ld rx_count %ld", hu, count, ll->rx_state, ll->rx_count); |
384 | 384 | ||