diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-07-14 11:58:57 +0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 12:02:10 +0400 |
commit | 75784c00876c88ca6e955c39cbb5d47cf408fd3c (patch) | |
tree | 7f1122b85945d17da87f0dc353d476cd9eec1cf2 /drivers/s390/cio/chp.c | |
parent | d2fec595511b5718bdb65645b3d5d99800d97943 (diff) | |
download | linux-75784c00876c88ca6e955c39cbb5d47cf408fd3c.tar.xz |
[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/chp.c')
-rw-r--r-- | drivers/s390/cio/chp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/cio/chp.c b/drivers/s390/cio/chp.c index 0b3c3109f228..62df43b2124c 100644 --- a/drivers/s390/cio/chp.c +++ b/drivers/s390/cio/chp.c @@ -415,8 +415,7 @@ int chp_new(struct chp_id chpid) goto out_free; } /* Get channel-measurement characteristics. */ - if (css_characteristics_avail && css_chsc_characteristics.scmc - && css_chsc_characteristics.secm) { + if (css_chsc_characteristics.scmc && css_chsc_characteristics.secm) { ret = chsc_get_channel_measurement_chars(chp); if (ret) goto out_free; |