On Wed, Feb 02, 2022 at 11:58:21PM +0300, Sergey Shtylyov wrote: > ata_host_suspend() always returns 0, so the result checks in many drivers > look pointless. Let's make this function return *void* instead of *int*. > > Found by Linux Verification Center (linuxtesting.org) with the SVACE static > analysis tool. > > Signed-off-by: Sergey Shtylyov <s.shtylyov@xxxxxx> Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature