mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 06:34:12 +08:00
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:
parent
610a72b707
commit
468e62f92e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user