Commit 827f6eaf authored by Yangtao Li's avatar Yangtao Li Committed by Damien Le Moal

ata: sata_rcar: drop useless initializer

There is no need to initialize the variable ret.
Signed-off-by: default avatarYangtao Li <frank.li@vivo.com>
Reviewed-by: default avatarSergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
parent 7f187e74
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment