commit | 7debf7806e0e984ea7e43cc271dc9400b0dffc14 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <dborkman@redhat.com> | Sat Feb 22 18:37:53 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 24 19:02:10 2014 -0500 |
tree | 28db6f2edc89f3fc8fa134a38c0a3e1187b5624d | |
parent | b17c706987fa6f28bdc1771c8266e7a69e22adcb [diff] |
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 <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>