Commit fc5fef61 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Johan Hedberg
Browse files

Bluetooth: Remove 'register' usage from the subsystem



Let the compiler chooses what is best.

Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 6039aa73
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -231,12 +231,12 @@ static void bluecard_write_wakeup(bluecard_info_t *info)
	}

	do {
		register unsigned int iobase = info->p_dev->resource[0]->start;
		register unsigned int offset;
		register unsigned char command;
		register unsigned long ready_bit;
		unsigned int iobase = info->p_dev->resource[0]->start;
		unsigned int offset;
		unsigned char command;
		unsigned long ready_bit;
		register struct sk_buff *skb;
		register int len;
		int len;

		clear_bit(XMIT_WAKEUP, &(info->tx_state));

+2 −2
Original line number Diff line number Diff line
@@ -186,9 +186,9 @@ static void bt3c_write_wakeup(bt3c_info_t *info)
		return;

	do {
		register unsigned int iobase = info->p_dev->resource[0]->start;
		unsigned int iobase = info->p_dev->resource[0]->start;
		register struct sk_buff *skb;
		register int len;
		int len;

		if (!pcmcia_dev_present(info->p_dev))
			break;
+2 −2
Original line number Diff line number Diff line
@@ -140,9 +140,9 @@ static void btuart_write_wakeup(btuart_info_t *info)
	}

	do {
		register unsigned int iobase = info->p_dev->resource[0]->start;
		unsigned int iobase = info->p_dev->resource[0]->start;
		register struct sk_buff *skb;
		register int len;
		int len;

		clear_bit(XMIT_WAKEUP, &(info->tx_state));

+2 −2
Original line number Diff line number Diff line
@@ -144,9 +144,9 @@ static void dtl1_write_wakeup(dtl1_info_t *info)
	}

	do {
		register unsigned int iobase = info->p_dev->resource[0]->start;
		unsigned int iobase = info->p_dev->resource[0]->start;
		register struct sk_buff *skb;
		register int len;
		int len;

		clear_bit(XMIT_WAKEUP, &(info->tx_state));

+1 −1
Original line number Diff line number Diff line
@@ -552,7 +552,7 @@ static u16 bscp_get_crc(struct bcsp_struct *bcsp)
static int bcsp_recv(struct hci_uart *hu, void *data, int count)
{
	struct bcsp_struct *bcsp = hu->priv;
	register unsigned char *ptr;
	unsigned char *ptr;

	BT_DBG("hu %p count %d rx_state %d rx_count %ld", 
		hu, count, bcsp->rx_state, bcsp->rx_count);
Loading