diff options
| author | Sergey Shtylyov <[email protected]> | 2024-05-04 20:27:25 +0000 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2024-05-06 22:23:31 +0000 |
| commit | d4a89339f17c87c4990070e9116462d16e75894f (patch) | |
| tree | ccb84dfa6be02068a9b2c302af7ba2160cead641 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | ata: libata-core: Remove ata_exec_internal_sg() (diff) | |
| download | kernel-d4a89339f17c87c4990070e9116462d16e75894f.tar.gz kernel-d4a89339f17c87c4990070e9116462d16e75894f.zip | |
ata: pata_legacy: make legacy_exit() work again
Commit defc9cd826e4 ("pata_legacy: resychronize with upstream changes and
resubmit") missed to update legacy_exit(), so that it now fails to do any
cleanup -- the loop body there can never be entered. Fix that and finally
remove now useless nr_legacy_host variable...
Found by Linux Verification Center (linuxtesting.org) with the Svace static
analysis tool.
Fixes: defc9cd826e4 ("pata_legacy: resychronize with upstream changes and resubmit")
Cc: [email protected]
Signed-off-by: Sergey Shtylyov <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions
