mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-06-01 23:23:46 -04: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:
committed by
Greg Kroah-Hartman
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,
|
||||
|
||||
Reference in New Issue
Block a user