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>
This commit is contained in:
parent
3d2d4339cc
commit
a7cd458621
@ -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++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user