summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/enrich_formatter.py
diff options
context:
space:
mode:
authorStefan Haberland <sth@linux.ibm.com>2025-11-26 17:06:32 +0100
committerJens Axboe <axboe@kernel.dk>2025-11-26 10:14:17 -0700
commit764def9e8eaf1b1ccdcd89b8c16db4194ade775f (patch)
tree22f2e829114e5914e4ef1b88e255d6e7dcbf4d84 /tools/lib/python/kdoc/enrich_formatter.py
parentc943bfc6afb8d0e781b9b7406f36caa8bbf95cb9 (diff)
s390/dasd: Remove unnecessary debugfs_create() return checks
The DASD driver only uses the dentry pointers when removing debugfs entries, and debugfs_remove() can safely handle both NULL and ERR_PTR. There is therefore no need to check debugfs_create() return values. This simplifies the debugfs setup code without changing functionality. Suggested-by: Heiko Carstens <hca@linux.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com> Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python/kdoc/enrich_formatter.py')
0 files changed, 0 insertions, 0 deletions