Skip to content

Commit

Permalink
drivers/ieee802154/at231rf230: remove unused return status
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
alex.bluesman.smirnov@gmail.com authored and David S. Miller committed Jul 5, 2012
1 parent 42c3629 commit 23c3421
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/ieee802154/at86rf230.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,6 @@ at86rf230_xmit(struct ieee802154_dev *dev, struct sk_buff *skb)
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);
Expand All @@ -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:
Expand Down

0 comments on commit 23c3421

Please sign in to comment.