git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
967680e
)
packet: fix a couple of cppcheck warnings
author
Daniel Borkmann
<dborkman@redhat.com>
Sun, 19 Jan 2014 10:46:53 +0000
(11:46 +0100)
committer
David S. Miller
<davem@davemloft.net>
Wed, 22 Jan 2014 00:51:42 +0000
(16:51 -0800)
Doesn't bring much, but also doesn't hurt us to fix 'em:
1) In tpacket_rcv() flush dcache page we can restirct the scope
for start and end and remove one layer of indent.
2) In tpacket_destruct_skb() we can restirct the scope for ph.
3) In alloc_one_pg_vec_page() we can remove the NULL assignment
and change spacing a bit.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c
patch
|
blob
|
history
diff --cc
net/packet/af_packet.c
Simple merge