mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:11:00 +07:00
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: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a6f24e9554
commit
4d77e60616
@ -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
|
||||
* makes a difference in how we compute the virtual address.
|
||||
*/
|
||||
if (parm_addr && parm_bytes) {
|
||||
if (parm_bytes) {
|
||||
bool retry = false;
|
||||
|
||||
parser_ctx =
|
||||
|
Loading…
Reference in New Issue
Block a user