mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue