diff options
author | alex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com> | 2012-07-01 16:18:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-05 06:11:15 -0400 |
commit | 23c342153ef2a4ad8bd4f2d6515126449658d2b3 (patch) | |
tree | 080a19b050f014863f41c52c11a66cf1d8cefc59 /drivers/ieee802154/at86rf230.c | |
parent | 42c3629551ab8b1613d27c8d046537f9f5b17cbb (diff) |
drivers/ieee802154/at231rf230: remove unused return status
Remove excessive variable used for the return status.
Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ieee802154/at86rf230.c')
-rw-r--r-- | drivers/ieee802154/at86rf230.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ieee802154/at86rf230.c b/drivers/ieee802154/at86rf230.c index 4d033d4c4ddc..902e38bb382f 100644 --- a/drivers/ieee802154/at86rf230.c +++ b/drivers/ieee802154/at86rf230.c | |||
@@ -585,7 +585,6 @@ err: | |||
585 | static int at86rf230_rx(struct at86rf230_local *lp) | 585 | static int at86rf230_rx(struct at86rf230_local *lp) |
586 | { | 586 | { |
587 | u8 len = 128, lqi = 0; | 587 | u8 len = 128, lqi = 0; |
588 | int rc; | ||
589 | struct sk_buff *skb; | 588 | struct sk_buff *skb; |
590 | 589 | ||
591 | skb = alloc_skb(len, GFP_KERNEL); | 590 | skb = alloc_skb(len, GFP_KERNEL); |
@@ -607,7 +606,7 @@ static int at86rf230_rx(struct at86rf230_local *lp) | |||
607 | 606 | ||
608 | ieee802154_rx_irqsafe(lp->dev, skb, lqi); | 607 | ieee802154_rx_irqsafe(lp->dev, skb, lqi); |
609 | 608 | ||
610 | dev_dbg(&lp->spi->dev, "READ_FBUF: %d %d %x\n", rc, len, lqi); | 609 | dev_dbg(&lp->spi->dev, "READ_FBUF: %d %x\n", len, lqi); |
611 | 610 | ||
612 | return 0; | 611 | return 0; |
613 | err: | 612 | err: |