summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/visorchipset.c
diff options
context:
space:
mode:
authorSameer Wadgaonkar2017-08-22 19:27:35 +0200
committerGreg Kroah-Hartman2017-08-23 00:14:55 +0200
commitb74856b4193be752493fa80809abdba508cb3365 (patch)
tree03b9d08d2746a8a678987c7bd98606f7a68186fa /drivers/staging/unisys/visorbus/visorchipset.c
parentstaging: unisys: visorbus: Get rid of passthrough function visorchipset_devic... (diff)
downloadkernel-qcow2-linux-b74856b4193be752493fa80809abdba508cb3365.tar.gz
kernel-qcow2-linux-b74856b4193be752493fa80809abdba508cb3365.tar.xz
kernel-qcow2-linux-b74856b4193be752493fa80809abdba508cb3365.zip
staging: unisys: visorbus: Get rid of passthrough function visorchipset_device_destroy
The function visorchipset_device_destroy just called remove_visor_device, we can just combine it with remove_visor_device. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index 153c7e5ad79a..25a30a4b46e4 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -948,7 +948,7 @@ static int visorbus_device_destroy(struct controlvm_message *inmsg)
}
kfree(dev_info->name);
- visorchipset_device_destroy(dev_info);
+ remove_visor_device(dev_info);
return 0;
err_respond: