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:
747edc0
)
6lowpan: remove unnecessary ret variable
author
Alexander Aring
<
[email protected]
>
Mon, 28 Oct 2013 09:24:16 +0000
(10:24 +0100)
committer
David S. Miller
<
[email protected]
>
Mon, 28 Oct 2013 23:47:51 +0000
(19:47 -0400)
Signed-off-by: Alexander Aring <
[email protected]
>
Reviewed-by: Werner Almesberger <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ieee802154/6lowpan.c
patch
|
blob
|
history
diff --git
a/net/ieee802154/6lowpan.c
b/net/ieee802154/6lowpan.c
index ff41b4d60d302e18a1ebcf1bdfc950970fdd3aae..d2880352344e30df976ae9a269b4120fe80f47ff 100644
(file)
--- a/
net/ieee802154/6lowpan.c
+++ b/
net/ieee802154/6lowpan.c
@@
-1120,7
+1120,7
@@
lowpan_fragment_xmit(struct sk_buff *skb, u8 *head,
int mlen, int plen, int offset, int type)
{
struct sk_buff *frag;
- int hlen
, ret
;
+ int hlen;
hlen = (type == LOWPAN_DISPATCH_FRAG1) ?
LOWPAN_FRAG1_HEAD_SIZE : LOWPAN_FRAGN_HEAD_SIZE;
@@
-1145,9
+1145,7
@@
lowpan_fragment_xmit(struct sk_buff *skb, u8 *head,
lowpan_raw_dump_table(__func__, " raw fragment dump", frag->data,
frag->len);
- ret = dev_queue_xmit(frag);
-
- return ret;
+ return dev_queue_xmit(frag);
}
static int