OSDN Git Service

crypto: axis - remove unnecessary platform_get_resource() error check
authorweiyongjun \(A\) <weiyongjun1@huawei.com>
Wed, 17 Jan 2018 11:26:47 +0000 (11:26 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Jan 2018 14:10:29 +0000 (01:10 +1100)
commit235699e2a99fe40c11a377942e60bad11ce4046e
treedb4f19464f9e81f79271ddead0dd4daf441c738a
parent466d7b9f6175e4ecd409f619ff9fbbd49467ad66
crypto: axis - remove unnecessary platform_get_resource() error check

devm_ioremap_resource() already checks if the resource is NULL, so
remove the unnecessary platform_get_resource() error check.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/axis/artpec6_crypto.c