mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 04:43:52 -04:00
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user