aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core_mpc.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-12-05 12:25:05 -0800
committerDavid S. Miller <davem@davemloft.net>2019-12-05 12:25:05 -0800
commitb87440526324d253a9dc4c043d84d7c1b4df0614 (patch)
treed62bad662fb722988ad846fb5b04940eca4ecef9 /drivers/s390/net/qeth_core_mpc.h
parentnet: thunderx: start phy before starting autonegotiation (diff)
parents390/qeth: fix dangling IO buffers after halt/clear (diff)
downloadlinux-dev-b87440526324d253a9dc4c043d84d7c1b4df0614.tar.xz
linux-dev-b87440526324d253a9dc4c043d84d7c1b4df0614.zip
Merge branch 's390-fixes'
Julian Wiedmann says: ==================== s390/qeth: fixes 2019-12-05 please apply the following fixes to your net tree. The first two patches target the RX data path, the third fixes a memory leak when shutting down a qeth device. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core_mpc.h')
-rw-r--r--drivers/s390/net/qeth_core_mpc.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/s390/net/qeth_core_mpc.h b/drivers/s390/net/qeth_core_mpc.h
index 53fcf6641154..88f4dc140751 100644
--- a/drivers/s390/net/qeth_core_mpc.h
+++ b/drivers/s390/net/qeth_core_mpc.h
@@ -29,20 +29,6 @@ extern unsigned char IPA_PDU_HEADER[];
#define QETH_TIMEOUT (10 * HZ)
#define QETH_IPA_TIMEOUT (45 * HZ)
-#define QETH_CLEAR_CHANNEL_PARM -10
-#define QETH_HALT_CHANNEL_PARM -11
-
-static inline bool qeth_intparm_is_iob(unsigned long intparm)
-{
- switch (intparm) {
- case QETH_CLEAR_CHANNEL_PARM:
- case QETH_HALT_CHANNEL_PARM:
- case 0:
- return false;
- }
- return true;
-}
-
/*****************************************************************************/
/* IP Assist related definitions */
/*****************************************************************************/