summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann2019-06-27 17:01:30 +0200
committerDavid S. Miller2019-06-27 19:18:24 +0200
commitc4733c32ca2272b8c11663fc1ad6264d2ee42384 (patch)
treedf81f3d40aae3a60726e6ecc778a681a4bb4291a /drivers/s390/net/qeth_core.h
parents390/qeth: streamline SNMP cmd code (diff)
downloadkernel-qcow2-linux-c4733c32ca2272b8c11663fc1ad6264d2ee42384.tar.gz
kernel-qcow2-linux-c4733c32ca2272b8c11663fc1ad6264d2ee42384.tar.xz
kernel-qcow2-linux-c4733c32ca2272b8c11663fc1ad6264d2ee42384.zip
s390/qeth: consolidate pm code
De-duplicate the pm callback implementations from the two sub-drivers, replacing them with core helpers that delegate to the .set_online and .set_offline callbacks. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r--drivers/s390/net/qeth_core.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h
index 715bff28d48e..c81d5ec26803 100644
--- a/drivers/s390/net/qeth_core.h
+++ b/drivers/s390/net/qeth_core.h
@@ -713,9 +713,6 @@ struct qeth_discipline {
void (*remove) (struct ccwgroup_device *);
int (*set_online) (struct ccwgroup_device *);
int (*set_offline) (struct ccwgroup_device *);
- int (*freeze)(struct ccwgroup_device *);
- int (*thaw) (struct ccwgroup_device *);
- int (*restore)(struct ccwgroup_device *);
int (*do_ioctl)(struct net_device *dev, struct ifreq *rq, int cmd);
int (*control_event_handler)(struct qeth_card *card,
struct qeth_ipa_cmd *cmd);