diff options
author | John Garry <[email protected]> | 2022-10-26 18:56:04 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-10-27 02:22:59 +0000 |
commit | 4481bdc677c1aa9b0138ee9234c8c2d14142b42e (patch) | |
tree | 9c670682641c2db2919c71503ce81a8e212854a8 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 9d266e792b0fb4c25448dc240a808667e0932ef2 (diff) |
scsi: pm8001: Drop !task check in pm8001_abort_task()
In commit 0b639decf651 ("scsi: pm8001: Modify task abort handling for SATA
task"), code was introduced to dereference "task" pointer in
pm8001_abort_task(). However there was a pre-existing later check for
"!task", which spooked the kernel test robot.
Function pm8001_abort_task() should never be passed NULL for "task"
pointer, so remove that check. Also remove the "unlikely" hint, as this is
not fastpath code.
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: John Garry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Damien Le Moal <[email protected]>
Acked-by: Jack Wang <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions