diff options
author | Markus Elfring <[email protected]> | 2015-07-04 07:44:22 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-07-06 08:58:36 -0300 |
commit | 200802a4a79b3a7a1cf924ad870d3265023d0787 (patch) | |
tree | e2175c2decf2733ce3597577fdbf4a07419396c3 /tools/lib/api/fs/debugfs.c | |
parent | 19867b6186f3fd38be65d86e20ef6f49d0caaa0b (diff) |
perf probe: Delete an unnecessary check before the function call "strfilter__delete"
The strfilter__delete() function tests whether its argument is NULL and
then returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Cc: Julia Lawall <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/debugfs.c')
0 files changed, 0 insertions, 0 deletions