hwrng: meson - remove unused member of struct meson_rng_data
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 18 Feb 2023 20:55:32 +0000 (21:55 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Mar 2023 09:06:42 +0000 (17:06 +0800)
Member pdev isn't used, remove it.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/meson-rng.c

index 8bb30282ca46b1630929dabcd90562594e941890..e79069b6d05094f590d4283a88a430e306ea9207 100644 (file)
@@ -18,7 +18,6 @@
 
 struct meson_rng_data {
        void __iomem *base;
-       struct platform_device *pdev;
        struct hwrng rng;
        struct clk *core_clk;
 };
@@ -48,8 +47,6 @@ static int meson_rng_probe(struct platform_device *pdev)
        if (!data)
                return -ENOMEM;
 
-       data->pdev = pdev;
-
        data->base = devm_platform_ioremap_resource(pdev, 0);
        if (IS_ERR(data->base))
                return PTR_ERR(data->base);