summaryrefslogtreecommitdiff
path: root/drivers/ieee802154
diff options
context:
space:
mode:
authoralex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com>2012-07-02 00:18:32 +0400
committerDavid S. Miller <davem@davemloft.net>2012-07-05 14:11:15 +0400
commit23c342153ef2a4ad8bd4f2d6515126449658d2b3 (patch)
tree080a19b050f014863f41c52c11a66cf1d8cefc59 /drivers/ieee802154
parent42c3629551ab8b1613d27c8d046537f9f5b17cbb (diff)
downloadlinux-23c342153ef2a4ad8bd4f2d6515126449658d2b3.tar.xz
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')
-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 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: