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:
parent
7f187e74c7
commit
827f6eaf39
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user