crypto: ixp4xx - Delete unnecessary checks before the function call "dma_pool_destroy"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 15 Nov 2015 15:51:21 +0000 (16:51 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 17 Nov 2015 14:00:41 +0000 (22:00 +0800)
commitf9d1293b3c635f5224f7445acbe01672880a4945
tree5cf8c09cd783f4c52bea26a8825448347bc8cf42
parent202a32f0463ebc58833cc3e75c069996437ba526
crypto: ixp4xx - Delete unnecessary checks before the function call "dma_pool_destroy"

The dma_pool_destroy() function tests whether its argument is NULL
and then returns immediately. Thus the test around the calls is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ixp4xx_crypto.c