Sebastian Ott ef60cd13ec [S390] cio: fix double unregistering of subchannels
In some cases where the channel subsystem decides to drop a subchannel
device device_unregister may be called twice, which results in an oops.
The patch prevents this by only unregistering registered devices.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2008-07-14 10:02:17 +02:00
..
2008-07-14 10:02:11 +02:00
2008-07-14 10:02:12 +02:00
2008-07-14 10:02:12 +02:00
2008-07-14 10:02:12 +02:00
2008-07-14 10:02:12 +02:00
2008-07-14 10:02:12 +02:00
2008-07-14 10:02:05 +02:00
2007-10-19 11:53:41 -07:00
2008-07-14 10:02:12 +02:00