Remove an unnecessary cast on a void pointer in dprc-driver.c

Signed-off-by: Ben Marsh <bmars...@gmail.com>
---
 drivers/staging/fsl-mc/bus/dprc-driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/fsl-mc/bus/dprc-driver.c 
b/drivers/staging/fsl-mc/bus/dprc-driver.c
index 9380ebc..31488a7 100644
--- a/drivers/staging/fsl-mc/bus/dprc-driver.c
+++ b/drivers/staging/fsl-mc/bus/dprc-driver.c
@@ -407,7 +407,7 @@ static irqreturn_t dprc_irq0_handler_thread(int irq_num, 
void *arg)
 {
        int error;
        u32 status;
-       struct device *dev = (struct device *)arg;
+       struct device *dev = arg;
        struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev);
        struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_dev);
        struct fsl_mc_io *mc_io = mc_dev->mc_io;
-- 
1.9.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to