s390/cio: remove pm support from eadm-sch drivers
authorVineeth Vijayan <vneethv@linux.ibm.com>
Mon, 28 Sep 2020 14:16:45 +0000 (16:16 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 2 Dec 2020 17:19:24 +0000 (18:19 +0100)
The 'commit 394216275c7d ("s390: remove broken hibernate /
power management support")' removes the pm-support. Remove the
unused functions in eadm-sch drivers.

Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/cio/eadm_sch.c

index 53468ae64b999fa17bc154bb7eeda57293aed2da..c8964e0a23e7ff9d4472cc6783e635f09a5a62bc 100644 (file)
@@ -306,16 +306,6 @@ static void eadm_subchannel_shutdown(struct subchannel *sch)
        eadm_quiesce(sch);
 }
 
-static int eadm_subchannel_freeze(struct subchannel *sch)
-{
-       return cio_disable_subchannel(sch);
-}
-
-static int eadm_subchannel_restore(struct subchannel *sch)
-{
-       return cio_enable_subchannel(sch, (u32)(unsigned long)sch);
-}
-
 /**
  * eadm_subchannel_sch_event - process subchannel event
  * @sch: subchannel
@@ -369,9 +359,6 @@ static struct css_driver eadm_subchannel_driver = {
        .remove = eadm_subchannel_remove,
        .shutdown = eadm_subchannel_shutdown,
        .sch_event = eadm_subchannel_sch_event,
-       .freeze = eadm_subchannel_freeze,
-       .thaw = eadm_subchannel_restore,
-       .restore = eadm_subchannel_restore,
 };
 
 static int __init eadm_sch_init(void)