projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42c3629
)
drivers/ieee802154/at231rf230: remove unused return status
author
[email protected]
<
[email protected]
>
Sun, 1 Jul 2012 20:18:32 +0000
(20:18 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 5 Jul 2012 10:11:15 +0000
(
03:11
-0700)
Remove excessive variable used for the return status.
Signed-off-by: Alexander Smirnov <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/ieee802154/at86rf230.c
patch
|
blob
|
history
diff --git
a/drivers/ieee802154/at86rf230.c
b/drivers/ieee802154/at86rf230.c
index 4d033d4c4ddc768f639ad5295aa9461457036aeb..902e38bb382f0b9d80b20cc8595e1f9a1069bb18 100644
(file)
--- 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: