platform: goldfish: pipe: Remove reduntant casting

Casting to u32 is not required here.

Signed-off-by: Roman Kiryanov <rkir@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Roman Kiryanov 2018-08-27 11:23:07 -07:00 committed by Greg Kroah-Hartman
parent 610a72b707
commit 468e62f92e
1 changed files with 1 additions and 1 deletions

View File

@ -828,7 +828,7 @@ static int goldfish_pipe_device_init(struct platform_device *pdev)
dev->base + PIPE_REG_SIGNAL_BUFFER,
dev->base + PIPE_REG_SIGNAL_BUFFER_HIGH);
writel((u32)MAX_SIGNALLED_PIPES,
writel(MAX_SIGNALLED_PIPES,
dev->base + PIPE_REG_SIGNAL_BUFFER_COUNT);
write_pa_addr(&dev->buffers->open_command_params,