aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/cmf.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2008-07-14 03:58:57 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 04:02:10 -0400
commit75784c00876c88ca6e955c39cbb5d47cf408fd3c (patch)
tree7f1122b85945d17da87f0dc353d476cd9eec1cf2 /drivers/s390/cio/cmf.c
parentd2fec595511b5718bdb65645b3d5d99800d97943 (diff)
[S390] cio: Get rid of css_characteristics_avail.
Checking for the validity of the css_*_characteristics is superfluous since they stay 0 for non-successful scsc. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/cmf.c')
-rw-r--r--drivers/s390/cio/cmf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/cio/cmf.c b/drivers/s390/cio/cmf.c
index 6c77c2326bd4..77523131a05e 100644
--- a/drivers/s390/cio/cmf.c
+++ b/drivers/s390/cio/cmf.c
@@ -1344,8 +1344,7 @@ static int __init init_cmf(void)
1344 * to basic mode. 1344 * to basic mode.
1345 */ 1345 */
1346 if (format == CMF_AUTODETECT) { 1346 if (format == CMF_AUTODETECT) {
1347 if (!css_characteristics_avail || 1347 if (!css_general_characteristics.ext_mb) {
1348 !css_general_characteristics.ext_mb) {
1349 format = CMF_BASIC; 1348 format = CMF_BASIC;
1350 } else { 1349 } else {
1351 format = CMF_EXTENDED; 1350 format = CMF_EXTENDED;