diff options
author | Yang Li <[email protected]> | 2023-07-12 14:48:32 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-07-23 15:27:14 -0400 |
commit | 75aa298739fdff5dac98e5a6e8b9106c1297d6f0 (patch) | |
tree | 26171d9343fc59b55a4a1f3be240fd4bd042b134 /tools/perf/scripts/python/task-analyzer.py | |
parent | f52a805e19b169989ec6c61254529b273a18116d (diff) |
scsi: ufs: ufs-mediatek: Remove redundant dev_err()
There is no need to call the dev_err() function directly to print a custom
message when handling an error from either the platform_get_irq() or
platform_get_irq_byname() functions as both are going to display an
appropriate error message in case of a failure.
./drivers/ufs/host/ufs-mediatek.c:864:3-10: line 864 is redundant because platform_get_irq() already prints an error
Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5846
Signed-off-by: Yang Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions