diff options
author | Quentin Lambert <lambert.quentin@gmail.com> | 2016-07-22 15:32:42 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-09 12:47:03 +0200 |
commit | b363700ef50e2c0b3122b47ffba70281f45cb686 (patch) | |
tree | eca665933a865b8fd8cceca7a3336650b8f51f1d /drivers/crypto/ixp4xx_crypto.c | |
parent | crypto: caam - fix non-hmac hashes (diff) | |
download | linux-b363700ef50e2c0b3122b47ffba70281f45cb686.tar.xz linux-b363700ef50e2c0b3122b47ffba70281f45cb686.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/crypto/ixp4xx_crypto.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/ixp4xx_crypto.c b/drivers/crypto/ixp4xx_crypto.c index 2296934455fc..a6ab2575df28 100644 --- a/drivers/crypto/ixp4xx_crypto.c +++ b/drivers/crypto/ixp4xx_crypto.c @@ -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 { |