Commit 54530ce6 authored by Vasily Gorbik's avatar Vasily Gorbik
Browse files

s390/cio: remove unused channel_subsystem_reinit



Added with commit 77e844b9 ("s390/hibernate: add early resume
function") unused since commit 39421627 ("s390: remove broken
hibernate / power management support").

Reviewed-by: default avatarVineeth Vijayan <vneethv@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent ad3e6948
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -356,7 +356,6 @@ static inline u8 pathmask_to_pos(u8 mask)
	return 8 - ffs(mask);
}

void channel_subsystem_reinit(void);
extern void css_schedule_reprobe(void);

extern void *cio_dma_zalloc(size_t size);
+0 −14
Original line number Diff line number Diff line
@@ -1350,20 +1350,6 @@ static int __init channel_subsystem_init_sync(void)
}
subsys_initcall_sync(channel_subsystem_init_sync);

void channel_subsystem_reinit(void)
{
	struct channel_path *chp;
	struct chp_id chpid;

	chsc_enable_facility(CHSC_SDA_OC_MSS);
	chp_id_for_each(&chpid) {
		chp = chpid_to_chp(chpid);
		if (chp)
			chp_update_desc(chp);
	}
	cmf_reactivate();
}

#ifdef CONFIG_PROC_FS
static ssize_t cio_settle_write(struct file *file, const char __user *buf,
				size_t count, loff_t *ppos)