staging: unisys: visorbus: remove channel_addr check in handle_command
Removed a check for physaddr=0 in handle_command() function in visorchipset.c. Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d36c4857cb
commit
d70dd24521
|
@ -1593,9 +1593,6 @@ handle_command(struct controlvm_message inmsg, u64 channel_addr)
|
|||
|
||||
/* create parsing context if necessary */
|
||||
local_addr = (inmsg.hdr.flags.test_message == 1);
|
||||
if (channel_addr == 0)
|
||||
return -EINVAL;
|
||||
|
||||
parm_addr = channel_addr + inmsg.hdr.payload_vm_offset;
|
||||
parm_bytes = inmsg.hdr.payload_bytes;
|
||||
|
||||
|
|
Loading…
Reference in New Issue