staging: unisys: simplify visornic_serverdown_complete
authorNeil Horman <nhorman@redhat.com>
Tue, 21 Jul 2015 13:55:41 +0000 (09:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:20:03 +0000 (21:20 -0700)
commit0d5073935a662564d46dff071874fe2cab11c651
treef2142bec39ce0073cd000a6746213746b9c31314
parent8cf12de41bb772fccd2807780ad23639e4fcce89
staging: unisys: simplify visornic_serverdown_complete

Theres a lot of code duplication going on in visornic_serverdown_complete.
We should just be able to send it through the dev_close path and have it
do the right things.

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c