diff options
author | Yu Zhe <yuzhe@nfschina.com> | 2023-03-16 17:04:12 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-03-24 18:22:28 +0800 |
commit | 6faacef060e37e0664837392b437950b0455ddec (patch) | |
tree | 93e50fe71f622bf0be743803ce62b2e537f082dc /drivers/char | |
parent | c007e720989e3a39923d7707b9e625c1f89abb2c (diff) | |
download | lwn-6faacef060e37e0664837392b437950b0455ddec.tar.gz lwn-6faacef060e37e0664837392b437950b0455ddec.zip |
hwrng: xgene - 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/char')
-rw-r--r-- | drivers/char/hw_random/xgene-rng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/xgene-rng.c b/drivers/char/hw_random/xgene-rng.c index c67d3185b5b6..7c8f3cb7c6af 100644 --- a/drivers/char/hw_random/xgene-rng.c +++ b/drivers/char/hw_random/xgene-rng.c @@ -199,7 +199,7 @@ static void xgene_rng_chk_overflow(struct xgene_rng_dev *ctx) static irqreturn_t xgene_rng_irq_handler(int irq, void *id) { - struct xgene_rng_dev *ctx = (struct xgene_rng_dev *) id; + struct xgene_rng_dev *ctx = id; /* RNG Alarm Counter overflow */ xgene_rng_chk_overflow(ctx); |