diff options
author | Jan Höppner <hoeppner@linux.vnet.ibm.com> | 2017-11-30 19:18:21 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-01-23 07:36:43 +0100 |
commit | d62f7abcf38eef67581c3afb164dd826064ab90d (patch) | |
tree | 48d13296efa115e0c14f40bc440e48acee30a3c3 /arch/s390/kernel/kprobes.c | |
parent | c7848e14f45df6fed6227c7436c49f44bd29a957 (diff) |
s390/dasd: Remove dead return code checks
In dasd_term_IO() ccw_device_clear() is called and the return code is
checked afterwards. Though, the return codes -EIO and -EBUSY will never
be returned and can therefore be removed from the check.
In dasd_start_IO() the return code of either ccw_device_tm_start() or
ccw_device_start() is checked. However, neither of them returns
-ETIMEDOUT. Remove that check as well.
Signed-off-by: Jan Höppner <hoeppner@linux.vnet.ibm.com>
Acked-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions