diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-07-14 03:58:57 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 04:02:10 -0400 |
commit | 75784c00876c88ca6e955c39cbb5d47cf408fd3c (patch) | |
tree | 7f1122b85945d17da87f0dc353d476cd9eec1cf2 /drivers/s390/cio/chp.c | |
parent | d2fec595511b5718bdb65645b3d5d99800d97943 (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/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) | |||
415 | goto out_free; | 415 | goto out_free; |
416 | } | 416 | } |
417 | /* Get channel-measurement characteristics. */ | 417 | /* Get channel-measurement characteristics. */ |
418 | if (css_characteristics_avail && css_chsc_characteristics.scmc | 418 | if (css_chsc_characteristics.scmc && css_chsc_characteristics.secm) { |
419 | && css_chsc_characteristics.secm) { | ||
420 | ret = chsc_get_channel_measurement_chars(chp); | 419 | ret = chsc_get_channel_measurement_chars(chp); |
421 | if (ret) | 420 | if (ret) |
422 | goto out_free; | 421 | goto out_free; |