diff options
| author | Markus Elfring <[email protected]> | 2015-07-04 09:06:32 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-08-03 12:21:21 +0200 |
| commit | 781b0203423c228b100aaaf169c77b2b556f8a49 (patch) | |
| tree | 5d86775da425f5ab11e1bc677840d73dfe125b90 /tools/perf/scripts/python | |
| parent | 3fe33bcdd358dd8c641cf4d92c9d2d9972ca94dd (diff) | |
sched, sysctl: Delete an unnecessary check before unregister_sysctl_table()
The unregister_sysctl_table() 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]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions