diff options
author | Yu Zhe <yuzhe@nfschina.com> | 2023-03-17 06:57:57 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-03-24 11:22:28 +0100 |
commit | 6f15b1ce33f5f70f2454d226b829a34e59aa1bc8 (patch) | |
tree | bc2bba01b6f3b8e9a7dbfc51946779a98c6709d5 /drivers/crypto/amcc/crypto4xx_core.c | |
parent | hwrng: xgene - remove unnecessary (void*) conversions (diff) | |
download | linux-6f15b1ce33f5f70f2454d226b829a34e59aa1bc8.tar.xz linux-6f15b1ce33f5f70f2454d226b829a34e59aa1bc8.zip |
crypto: crypto4xx - remove unnecessary (void*) conversions
Pointer variables of void * type do not require type cast.
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/amcc/crypto4xx_core.c')
-rw-r--r-- | drivers/crypto/amcc/crypto4xx_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index 50dc783821b6..d553f3f1efbe 100644 --- a/drivers/crypto/amcc/crypto4xx_core.c +++ b/drivers/crypto/amcc/crypto4xx_core.c @@ -1101,7 +1101,7 @@ static void crypto4xx_bh_tasklet_cb(unsigned long data) static inline irqreturn_t crypto4xx_interrupt_handler(int irq, void *data, u32 clr_val) { - struct device *dev = (struct device *)data; + struct device *dev = data; struct crypto4xx_core_device *core_dev = dev_get_drvdata(dev); writel(clr_val, core_dev->dev->ce_base + CRYPTO4XX_INT_CLR); |