summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-01-07 16:35:19 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-01-11 02:18:46 +0300
commit17789f8a5b81356fc83cf20de899fc351679574e (patch)
tree9f03a1107c724cc809ce94bb1d3a314d7ac4f28b /tools/perf/util/scripting-engines/trace-event-python.c
parentbab8551e33f7f5e8743ccb49be41fe3228178e8a (diff)
downloadlinux-17789f8a5b81356fc83cf20de899fc351679574e.tar.xz
scsi: fnic: Delete incorrect debugfs error handling
Debugfs functions are not supposed to require error checking and, in fact, adding checks would normally lead to the driver refusing to load when CONFIG_DEBUGFS is disabled. What saves us here is that this code checks for NULL instead of error pointers so the error checking is all dead code. Delete it. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/a5c237cd-449b-4f9d-bcff-6285fb7c28d1@stanley.mountain Reviewed-by: Karan Tilak Kumar <kartilak@cisco.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions