diff options
| author | 2022-02-02 23:07:45 +0300 | |
|---|---|---|
| committer | 2022-02-03 09:04:33 +0900 | |
| commit | ac1eb6655be440b6c0199f6bc9d20d610fc29d0d (patch) | |
| tree | fdf517d9bff944edfe6a51ab21939efbea203af9 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ata: ahci: Skip 200 ms debounce delay for Marvell 88SE9235 (diff) | |
| download | linux-dev-ac1eb6655be440b6c0199f6bc9d20d610fc29d0d.tar.xz linux-dev-ac1eb6655be440b6c0199f6bc9d20d610fc29d0d.zip | |
ata: libata: ata_{sff|std}_prereset() always return 0
ata_std_prereset() always returns 0, hence the check in ata_sff_prereset()
is pointless and thus it also can return only 0 (however, we cannot change
the prototypes of ata_{sff|std}_prereset() as they implement the driver's
prereset() method).
Found by Linux Verification Center (linuxtesting.org) with the SVACE static
analysis tool.
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
