summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorShao Mingyin <shao.mingyin@zte.com.cn>2026-11-04 21:14:46 +0800
committerKeith Busch <kbusch@kernel.org>2026-11-05 08:53:01 -0800
commitc92055eb22a8e135011c14c5eb40f5da0a0c8153 (patch)
treefa4b50506e6550c7fd89c4a6ee6db9a7bf2debc6 /tools/perf/scripts/python/Perf-Trace-Util
parentcf399d4abbeddc317f8160a79fefb4016c469862 (diff)
nvmet: drop the redundant auth check in nvmet_parse_io_cmd()
nvmet_parse_io_cmd() calls nvmet_check_auth_status() and then nvmet_check_ctrl_status(), which performs the same check again. The first call cannot fail either: this path only handles commands from I/O queues, and nvmet_check_auth_status() returns true unconditionally for qid > 0. Drop the duplicate. No functional change. Signed-off-by: Shao Mingyin <shao.mingyin@zte.com.cn> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions