s390/qeth: consolidate pack buffer flushing
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Tue, 6 Jun 2017 12:33:47 +0000 (14:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 17:05:00 +0000 (13:05 -0400)
commit664e42ac8b1bc39540ac9d657efa45c3e213e6c2
tree481455c2f78902a237540c44ecfe0fcb78c10104
parent84616e86f830490c4bbf93ddc1e374cd61865060
s390/qeth: consolidate pack buffer flushing

qeth_switch_to_nonpacking_if_needed() contains an open-coded version
of qeth_flush_buffers_on_no_pci(). Extract a single helper instead.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Acked-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c