diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-08-09 15:47:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-10 00:02:50 +0300 |
commit | 73657a3e5b0de69ccdabed0e340dcbbc99f46119 (patch) | |
tree | 870f72ef78ed3b850f23f5899863bd481bb84a5b /drivers/s390/net/qeth_l2_main.c | |
parent | a736e074680745faa5dc6be8dd3c58ad4850aab9 (diff) | |
download | linux-73657a3e5b0de69ccdabed0e340dcbbc99f46119.tar.xz |
s390/qeth: extract helper for MPC protocol type
Just a little code deduplication.
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_l2_main.c')
-rw-r--r-- | drivers/s390/net/qeth_l2_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index c1829a4b955d..efb84a75dd80 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c @@ -1270,7 +1270,7 @@ static int qeth_osn_send_ipa_cmd(struct qeth_card *card, QETH_CARD_TEXT(card, 4, "osndipa"); - qeth_prepare_ipa_cmd(card, iob, QETH_PROT_OSN2); + qeth_prepare_ipa_cmd(card, iob); s1 = (u16)(IPA_PDU_HEADER_SIZE + data_len); s2 = (u16)data_len; memcpy(QETH_IPA_PDU_LEN_TOTAL(iob->data), &s1, 2); |