s390/cio: remove unused channel_subsystem_reinit
authorVasily Gorbik <gor@linux.ibm.com>
Fri, 25 Sep 2020 22:08:54 +0000 (00:08 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 30 Sep 2020 10:09:54 +0000 (12:09 +0200)
Added with commit 77e844b96440 ("s390/hibernate: add early resume
function") unused since commit 394216275c7d ("s390: remove broken
hibernate / power management support").

Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/cio.h
drivers/s390/cio/css.c

index 953a7316b30ab3c1b11bafacd114e6afcece6407..5c58756d6476c0edbff3f1b9afce5ee57a126de9 100644 (file)
@@ -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);
index aca022239b333e6eabe0904ef4e7b6e77c00a84d..c17d6c99f4044b0ccc86422cf7d71eca75854961 100644 (file)
@@ -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)