diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2021-05-05 10:25:14 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-06-07 17:07:00 +0200 |
commit | 428b7f59835d3e62cf5a1920f3f753782ae84e5e (patch) | |
tree | 3f994caa2129217fd502dddcedd8ed3ae4990914 /drivers/s390/cio/vfio_ccw_cp.c | |
parent | 31aae32ca1258aa68b3feb2d7d00c1e252b857a1 (diff) | |
download | linux-428b7f59835d3e62cf5a1920f3f753782ae84e5e.tar.bz2 |
s390/ccwgroup: simplify ungrouping when driver deregisters
driver_unregister() ends up calling __device_release_driver() for
each device that is bound to the driver. Thus ccwgroup_notifier() will
see a BUS_NOTIFY_UNBIND_DRIVER event for these ccwgroup devices, and
trigger the ungrouping.
So there's no need to also trigger the ungrouping from within
ccwgroup_driver_unregister(), remove it.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/cio/vfio_ccw_cp.c')
0 files changed, 0 insertions, 0 deletions