diff options
Diffstat (limited to 'drivers/s390/cio/css.c')
| -rw-r--r-- | drivers/s390/cio/css.c | 19 | 
1 files changed, 0 insertions, 19 deletions
| diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index ce9e7517430f..fa8293335077 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c @@ -470,16 +470,6 @@ int css_register_subchannel(struct subchannel *sch)  	if (sch->st == SUBCHANNEL_TYPE_IO)  		sch->dev.type = &io_subchannel_type; -	/* -	 * We don't want to generate uevents for I/O subchannels that don't -	 * have a working ccw device behind them since they will be -	 * unregistered before they can be used anyway, so we delay the add -	 * uevent until after device recognition was successful. -	 * Note that we suppress the uevent for all subchannel types; -	 * the subchannel driver can decide itself when it wants to inform -	 * userspace of its existence. -	 */ -	dev_set_uevent_suppress(&sch->dev, 1);  	css_update_ssd_info(sch);  	/* make it known to the system */  	ret = css_sch_device_register(sch); @@ -488,15 +478,6 @@ int css_register_subchannel(struct subchannel *sch)  			      sch->schid.ssid, sch->schid.sch_no, ret);  		return ret;  	} -	if (!sch->driver) { -		/* -		 * No driver matched. Generate the uevent now so that -		 * a fitting driver module may be loaded based on the -		 * modalias. -		 */ -		dev_set_uevent_suppress(&sch->dev, 0); -		kobject_uevent(&sch->dev.kobj, KOBJ_ADD); -	}  	return ret;  } |