summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-01-22 10:49:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-25 19:59:15 +0800
commit052f4f61ecb14119709f928984c347ef6a2ec35c (patch)
tree1d5c351facf616d3eed7cdafae6e2b891fa1bc95 /tools/perf/scripts/python/Perf-Trace-Util
parentf8bd34d21622c4550179aeb28715c2fd35e82451 (diff)
staging: lustre: remove the CFS_HOP() macro
CFS_HOP() is a terrible macro. It chops the struct member name in half so that it's not possible to use tools like grep or to search for how a function pointer is used. I removed a couple calls to: LASSERT(CFS_HOP(hs, put_locked) != NULL); because they isn't a need for them. Anyway dereferencing a NULL pointer generates a pretty good stack trace already without adding extra debug code. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions