From: Sebastian Ott Date: Tue, 8 Nov 2016 16:50:40 +0000 (+0100) Subject: s390/cio: remove unused struct member X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=00851e6925a827362e3b84ead0c0cf3e86a31aec;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390/cio: remove unused struct member Remove an unused member of struct channel subsystem. Signed-off-by: Sebastian Ott Reviewed-by: Cornelia Huck Reviewed-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky --- 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;