diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-09-05 19:47:02 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-10-22 13:08:31 +0300 |
commit | a7cd4586210c69c19aef26f4f83d3e492040de1c (patch) | |
tree | 33782a38c1d0ffc9883964b694a096af0229b0e4 /arch/powerpc/sysdev | |
parent | 3d2d4339cc326c427638daa67e264dd455ee1899 (diff) | |
download | linux-a7cd4586210c69c19aef26f4f83d3e492040de1c.tar.xz |
powerpc/axonram: Drop unnecessary variable initialisation
The local variable "rc" will eventually be set only to an error code.
Thus omit the explicit initialisation at the beginning.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/axonram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/axonram.c b/arch/powerpc/sysdev/axonram.c index c60e84e4558d..1b307c80b401 100644 --- a/arch/powerpc/sysdev/axonram.c +++ b/arch/powerpc/sysdev/axonram.c @@ -184,7 +184,7 @@ static int axon_ram_probe(struct platform_device *device) static int axon_ram_bank_id = -1; struct axon_ram_bank *bank; struct resource resource; - int rc = 0; + int rc; axon_ram_bank_id++; |