Commit 4d77e606 authored by David Kershner's avatar David Kershner Committed by Greg Kroah-Hartman

staging: unisys: visorbus: Remove check for valid parm_addr.

The variable parm_addr will never be null, so no need to check for it.
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarTim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a6f24e95
...@@ -1523,7 +1523,7 @@ static int handle_command(struct controlvm_message inmsg, u64 channel_addr) ...@@ -1523,7 +1523,7 @@ static int handle_command(struct controlvm_message inmsg, u64 channel_addr)
* within our OS-controlled memory. We need to know that, because it * within our OS-controlled memory. We need to know that, because it
* makes a difference in how we compute the virtual address. * makes a difference in how we compute the virtual address.
*/ */
if (parm_addr && parm_bytes) { if (parm_bytes) {
bool retry = false; bool retry = false;
parser_ctx = parser_ctx =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment