From: Daniel Borkmann Date: Sat, 22 Feb 2014 17:37:53 +0000 (+0100) Subject: tools: bpf_dbg: various misc code cleanups X-Git-Tag: v3.15-rc1~113^2~277 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7debf7806e0e984ea7e43cc271dc9400b0dffc14;p=pandora-kernel.git tools: bpf_dbg: various misc code cleanups Lets clean up bpf_dbg a bit and improve its code slightly in various areas: i) Get rid of some macros as there's no good reason for keeping them, ii) remove one unused variable and reduce scope of various variables found by cppcheck, iii) Close non-default file descriptors when exiting the shell. Signed-off-by: Daniel Borkmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed