From: Roman Kiryanov Date: Wed, 3 Oct 2018 17:17:10 +0000 (-0700) Subject: platform: goldfish: pipe: Remove redundant casting X-Git-Tag: v4.20-rc1~107^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6fb3193307dc6bd1de9354a7937385e73fd06cb;p=thirdparty%2Fkernel%2Flinux.git platform: goldfish: pipe: Remove redundant casting This casting is not required. Signed-off-by: Roman Kiryanov Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index c386aaf40034f..bc431f04c4cf8 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -925,7 +925,7 @@ static int goldfish_pipe_probe(struct platform_device *pdev) * reading device version back: this allows the host implementation to * detect the old driver (if there was no version write before read). */ - writel((u32)PIPE_DRIVER_VERSION, dev->base + PIPE_REG_VERSION); + writel(PIPE_DRIVER_VERSION, dev->base + PIPE_REG_VERSION); dev->version = readl(dev->base + PIPE_REG_VERSION); if (WARN_ON(dev->version < PIPE_CURRENT_DEVICE_VERSION)) return -EINVAL;