commit | f0d4eb29d18f732ed80cea4bf0f6bbee9c03ed62 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <dborkman@redhat.com> | Sun Jan 19 11:46:53 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 21 16:51:42 2014 -0800 |
tree | fb2c0728e785efdb22acce9b48fbfc38d85a5e4a | |
parent | 967680e02724afe9bb4bf0b0c20d0a55de315fcb [diff] |
packet: fix a couple of cppcheck warnings 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>