Skip to content
Commit fdbb9457 authored by Markus Elfring's avatar Markus Elfring Committed by Michael Ellerman
Browse files

axonram: Return directly after a failed kzalloc() in axon_ram_probe()



* Return directly after a call of the function "kzalloc" failed
  at the beginning.

* Delete a repeated check for the local variable "bank"
  which became unnecessary with this refactoring.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent a1bddf39
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment