summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2016-11-08 17:50:40 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-01-16 07:27:53 +0100
commit00851e6925a827362e3b84ead0c0cf3e86a31aec (patch)
tree427f2ee0eab06652fc628e163bf1c7a3d0a3478d /drivers/s390/cio
parents390/cio: export real cssid (diff)
downloadlinux-00851e6925a827362e3b84ead0c0cf3e86a31aec.tar.xz
linux-00851e6925a827362e3b84ead0c0cf3e86a31aec.zip
s390/cio: remove unused struct member
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>
Diffstat (limited to 'drivers/s390/cio')
-rw-r--r--drivers/s390/cio/css.c1
-rw-r--r--drivers/s390/cio/css.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c
index 8faffed61092..e2aa944eb566 100644
--- a/drivers/s390/cio/css.c
+++ b/drivers/s390/cio/css.c
@@ -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));
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h
index 3056f96f9d82..c9f3fb39ebeb 100644
--- a/drivers/s390/cio/css.h
+++ b/drivers/s390/cio/css.h
@@ -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;