From: Daniel Borkmann Date: Sun, 19 Jan 2014 10:46:53 +0000 (+0100) Subject: packet: fix a couple of cppcheck warnings X-Git-Tag: v3.14-rc1~94^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0d4eb29d18f732ed80cea4bf0f6bbee9c03ed62;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed