diff options
author | alex.bluesman.smirnov@gmail.com | 2012-07-01 20:18:32 +0000 |
---|---|---|
committer | David S. Miller | 2012-07-05 03:11:15 -0700 |
commit | 23c342153ef2a4ad8bd4f2d6515126449658d2b3 (patch) | |
tree | 080a19b050f014863f41c52c11a66cf1d8cefc59 | |
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>
-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: static int at86rf230_rx(struct at86rf230_local *lp) { u8 len = 128, lqi = 0; - int rc; struct sk_buff *skb; skb = alloc_skb(len, GFP_KERNEL); @@ -607,7 +606,7 @@ static int at86rf230_rx(struct at86rf230_local *lp) ieee802154_rx_irqsafe(lp->dev, skb, lqi); - dev_dbg(&lp->spi->dev, "READ_FBUF: %d %d %x\n", rc, len, lqi); + dev_dbg(&lp->spi->dev, "READ_FBUF: %d %x\n", len, lqi); return 0; err: |