mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[S390] cio: Delete timer in ccw_device_verify_done().
Make sure pending timers are always deleted, even if we don't go through ccw_device_done(). Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
e82a1567e4
commit
46258ab5e4
1 changed files with 3 additions and 2 deletions
|
@ -641,9 +641,10 @@ ccw_device_verify_done(struct ccw_device *cdev, int err)
|
|||
default:
|
||||
/* Reset oper notify indication after verify error. */
|
||||
cdev->private->flags.donotify = 0;
|
||||
if (cdev->online)
|
||||
if (cdev->online) {
|
||||
ccw_device_set_timeout(cdev, 0);
|
||||
dev_fsm_event(cdev, DEV_EVENT_NOTOPER);
|
||||
else
|
||||
} else
|
||||
ccw_device_done(cdev, DEV_STATE_NOT_OPER);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue