diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-09-05 12:47:02 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-10-22 06:08:31 -0400 |
commit | a7cd4586210c69c19aef26f4f83d3e492040de1c (patch) | |
tree | 33782a38c1d0ffc9883964b694a096af0229b0e4 | |
parent | 3d2d4339cc326c427638daa67e264dd455ee1899 (diff) |
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>
-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) | |||
184 | static int axon_ram_bank_id = -1; | 184 | static int axon_ram_bank_id = -1; |
185 | struct axon_ram_bank *bank; | 185 | struct axon_ram_bank *bank; |
186 | struct resource resource; | 186 | struct resource resource; |
187 | int rc = 0; | 187 | int rc; |
188 | 188 | ||
189 | axon_ram_bank_id++; | 189 | axon_ram_bank_id++; |
190 | 190 | ||