diff options
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: |