ata: sata_rcar: drop useless initializer

There is no need to initialize the variable ret.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
This commit is contained in:
Yangtao Li 2023-07-10 10:45:44 +08:00 committed by Damien Le Moal
parent 7f187e74c7
commit 827f6eaf39
1 changed files with 1 additions and 2 deletions

View File

@ -862,8 +862,7 @@ static int sata_rcar_probe(struct platform_device *pdev)
struct ata_host *host;
struct sata_rcar_priv *priv;
struct resource *mem;
int irq;
int ret = 0;
int irq, ret;
irq = platform_get_irq(pdev, 0);
if (irq < 0)