summaryrefslogtreecommitdiff
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-08-20 16:46:37 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-20 13:51:46 -0700
commit7c5f8ffb335747a8aabd8fb504a66b39aeaf4d21 (patch)
treee55e8c160d4e9f70c6bc27a049fb54636c295740 /drivers/s390/net/qeth_core.h
parent12fc286f84b19ba61a8f64c80dc683cfb19f0251 (diff)
s390/qeth: use correct length field in SNMP cmd callback
qeth_snmp_command_cb() is the only cmd callback that pulls the reply's data length from a low-level transport header field. This requires additional complexity (ie. reply->offset) to make the header accessible to what is supposed to be a pure IPA cmd callback. Adapter cmds have a length field in their sub-cmd header, get the data length from there instead. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h
index 4e21aa8edb13..f6e58a51c366 100644
--- a/drivers/s390/net/qeth_core.h
+++ b/drivers/s390/net/qeth_core.h
@@ -634,7 +634,6 @@ struct qeth_reply {
int (*callback)(struct qeth_card *, struct qeth_reply *,
unsigned long);
u32 seqno;
- unsigned long offset;
int rc;
void *param;
refcount_t refcnt;