goldfish: pipe: ANDROID: remove redundant casting
Casting twice is not required. Bug: 72717639 Bug: 66884503 Change-Id: I3420388683a9746f2d2110af51d9d25c12c7eea6 Signed-off-by: Roman Kiryanov <rkir@google.com>
This commit is contained in:
parent
ed6207885d
commit
8b274c3897
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ static int goldfish_pipe_open(struct inode *inode, struct file *file)
|
|||
dev->buffers->open_command_params.rw_params_max_count =
|
||||
MAX_BUFFERS_PER_COMMAND;
|
||||
dev->buffers->open_command_params.command_buffer_ptr =
|
||||
(u64)(unsigned long)__pa(pipe->command_buffer);
|
||||
(u64)__pa(pipe->command_buffer);
|
||||
status = goldfish_pipe_cmd_locked(pipe, PIPE_CMD_OPEN);
|
||||
spin_unlock_irqrestore(&dev->lock, flags);
|
||||
if (status < 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue