s390/cio: remove unused struct member
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 8 Nov 2016 16:50:40 +0000 (17:50 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Jan 2017 06:27:53 +0000 (07:27 +0100)
Remove an unused member of struct channel subsystem.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/css.c
drivers/s390/cio/css.h

index 8faffed610922c5bc3f37b6dc01cef3d3f4259bc..e2aa944eb566dbce3cfaf0b7df830e3cf42f3155 100644 (file)
@@ -818,7 +818,6 @@ static int __init setup_css(int nr)
        css->device.release = channel_subsystem_release;
 
        mutex_init(&css->mutex);
-       css->valid = 1;
        css->cssid = chsc_get_cssid(nr);
        css_generate_pgid(css, (u32) (get_tod_clock() >> 32));
 
index 3056f96f9d829d6ed4230fcabf409cb5ad9e142f..c9f3fb39ebeb216f94a072172af6f59aa3c47974 100644 (file)
@@ -114,7 +114,6 @@ void css_update_ssd_info(struct subchannel *sch);
 
 struct channel_subsystem {
        int cssid;
-       int valid;
        struct channel_path *chps[__MAX_CHPID + 1];
        struct device device;
        struct pgid global_pgid;