mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-19 03:37:55 +00:00
staging: unisys: visorbus: don't need local variable cmd
The local variable cmd was just being used to dereference a field inside of it. Get rid of the variable and just derefernce the parameter being passed in. 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
977980ac59
commit
3f5a562b1e
@ -595,9 +595,8 @@ err_respond:
|
||||
|
||||
static int visorbus_destroy(struct controlvm_message *inmsg)
|
||||
{
|
||||
struct controlvm_message_packet *cmd = &inmsg->cmd;
|
||||
struct controlvm_message_header *pmsg_hdr = NULL;
|
||||
u32 bus_no = cmd->destroy_bus.bus_no;
|
||||
u32 bus_no = inmsg->cmd.destroy_bus.bus_no;
|
||||
struct visor_device *bus_info;
|
||||
int err;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user