summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authoralex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com>2012-07-01 20:18:32 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-05 03:11:15 -0700
commit23c342153ef2a4ad8bd4f2d6515126449658d2b3 (patch)
tree080a19b050f014863f41c52c11a66cf1d8cefc59 /drivers
parent42c3629551ab8b1613d27c8d046537f9f5b17cbb (diff)
downloadlinux-3.10-23c342153ef2a4ad8bd4f2d6515126449658d2b3.tar.gz
linux-3.10-23c342153ef2a4ad8bd4f2d6515126449658d2b3.tar.bz2
linux-3.10-23c342153ef2a4ad8bd4f2d6515126449658d2b3.zip
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')
-rw-r--r--drivers/ieee802154/at86rf230.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ieee802154/at86rf230.c b/drivers/ieee802154/at86rf230.c
index 4d033d4c4dd..902e38bb382 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: