]> git.itanic.dy.fi Git - linux-stable/commit
s390/dasd: remove unneeded sanity check
authorStefan Haberland <sth@linux.vnet.ibm.com>
Mon, 19 Feb 2018 11:24:39 +0000 (12:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 27 Feb 2018 07:05:28 +0000 (08:05 +0100)
commita1fc8181eb7858400d39bff42e9d31a2e8b80c83
treeadcd24d5d95849fc00677a91730486fc11960c82
parent5e725c570eaa405eb5b1a557e7c6831ac56c3088
s390/dasd: remove unneeded sanity check

Reported by smatch that the usage of cqr->block is inconsistent.
The sanity check is not needed because _dasd_requeue_request already
checks for a valid cqr->block pointer and all referenced ERP requests
have a valid cqr->block pointer as well since it is copied during ERP
process.

Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c