aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2018-05-29 16:29:44 +0200
committerGreg Kroah-Hartman <[email protected]>2018-06-01 10:47:44 +0200
commitb145f49f233d73725d0857206833335a6b9bcace (patch)
treec9f293595ea4b6426ddebf51ce83a024943f28ed /tools/perf/scripts/python/net_dropmonitor.py
parent08bd45fd609a88eb4f960d8d4e4ef57163a046a1 (diff)
staging: lustre: unwrap some ldebugfs_register() calls
When the third option (list) to ldebugfs_register() is NULL, it's the same as just calling debugfs_create_dir(). So unwind this and call debugfs_create_dir() directly. This ends up saving lots of code as we do not need to do any error checking of the return value (because it does not matter). The ldebugfs_register() call will be removed in a later patch when it is fully removed, right now there are 2 outstanding users of it in the tree. Cc: Oleg Drokin <[email protected]> Cc: Andreas Dilger <[email protected]> Cc: James Simmons <[email protected]> Cc: NeilBrown <[email protected]> Cc: Aastha Gupta <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Quentin Bouget <[email protected]> Cc: Patrick Farrell <[email protected]> Cc: Aliaksei Karaliou <[email protected]> Cc: "John L. Hammond" <[email protected]> Cc: Mathias Rav <[email protected]> Cc: Andriy Skulysh <[email protected]> Cc: Ben Evans <[email protected]> Cc: Bob Glosman <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions