Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pata_arasan_cf: Delete an unnecessary variable initialisation in arasan_cf_probe()

The local variable "ret" will eventually be set to an appropriate value
a bit later. Thus omit the explicit initialisation at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Markus Elfring and committed by
Tejun Heo
27c4203a dcf3c1c1

+1 -1
+1 -1
drivers/ata/pata_arasan_cf.c
··· 796 796 struct resource *res; 797 797 u32 quirk; 798 798 irq_handler_t irq_handler = NULL; 799 - int ret = 0; 799 + int ret; 800 800 801 801 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 802 802 if (!res)