aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/chp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/cio/chp.c')
-rw-r--r--drivers/s390/cio/chp.c3
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;