summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_h4.c
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-05-23 04:04:19 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-05 06:34:07 +0300
commitfc5fef615a963c8b13abf0bbc2a8e8d7c3fd1ffb (patch)
tree614f9fe99a8005afb6be1e97e4bd1c9f281512e5 /drivers/bluetooth/hci_h4.c
parent6039aa73a1323edc2d6d93a22505d4dc28f38e3f (diff)
downloadtalos-obmc-linux-fc5fef615a963c8b13abf0bbc2a8e8d7c3fd1ffb.tar.gz
talos-obmc-linux-fc5fef615a963c8b13abf0bbc2a8e8d7c3fd1ffb.zip
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_h4.c')
-rw-r--r--drivers/bluetooth/hci_h4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_h4.c b/drivers/bluetooth/hci_h4.c
index 748329468d26..c60623f206d4 100644
--- a/drivers/bluetooth/hci_h4.c
+++ b/drivers/bluetooth/hci_h4.c
@@ -126,7 +126,7 @@ static int h4_enqueue(struct hci_uart *hu, struct sk_buff *skb)
static inline int h4_check_data_len(struct h4_struct *h4, int len)
{
- register int room = skb_tailroom(h4->rx_skb);
+ int room = skb_tailroom(h4->rx_skb);
BT_DBG("len %d room %d", len, room);
OpenPOWER on IntegriCloud