forked from Minki/linux
crypto: ixp4xx - Fix a "simple if" coding style warning
Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
a0118c8b2b
commit
b363700ef5
@ -447,9 +447,8 @@ static int init_ixp_crypto(struct device *dev)
|
||||
|
||||
if (!npe_running(npe_c)) {
|
||||
ret = npe_load_firmware(npe_c, npe_name(npe_c), dev);
|
||||
if (ret) {
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
if (npe_recv_message(npe_c, msg, "STATUS_MSG"))
|
||||
goto npe_error;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user