提交 23c34215 编写于 作者: A alex.bluesman.smirnov@gmail.com 提交者: David S. Miller

drivers/ieee802154/at231rf230: remove unused return status

Remove excessive variable used for the return status.
Signed-off-by: NAlexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 42c36295
......@@ -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);
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册