diff options
author | Sameer Wadgaonkar | 2017-08-22 19:27:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-08-23 00:14:55 +0200 |
commit | a7093ba162d942e29ae27a64f8432db65f7f21ab (patch) | |
tree | 0ac51c4b7e0f1bed8d05355cb7aea571581a8a33 /drivers/staging/unisys/visorbus/visorchipset.c | |
parent | staging: unisys: include: iochannel.h: Add proper copyright statement (diff) | |
download | kernel-qcow2-linux-a7093ba162d942e29ae27a64f8432db65f7f21ab.tar.gz kernel-qcow2-linux-a7093ba162d942e29ae27a64f8432db65f7f21ab.tar.xz kernel-qcow2-linux-a7093ba162d942e29ae27a64f8432db65f7f21ab.zip |
staging: unisys: visorbus: Get rid of passthrough function visorchipset_bus_destroy
The function visorchipset_bus_destroy just called viosrbus_remove_instance,
we can just combine it with visorbus_remove_instance.
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
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>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorchipset.c')
-rw-r--r-- | drivers/staging/unisys/visorbus/visorchipset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index 1cedb3bbcafa..a478533a231c 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -700,8 +700,8 @@ static int visorbus_destroy(struct controlvm_message *inmsg) bus_info->pending_msg_hdr = pmsg_hdr; } - /* Response will be handled by visorchipset_bus_destroy */ - visorchipset_bus_destroy(bus_info); + /* Response will be handled by visorbus_remove_instance */ + visorbus_remove_instance(bus_info); return 0; err_respond: |