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:
Quentin Lambert 2016-07-22 15:32:42 +02:00 committed by Herbert Xu
parent a0118c8b2b
commit b363700ef5
1 changed files with 1 additions and 2 deletions

View File

@ -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 {