]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: remove skb_is_nonlinear() check on IQD
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Tue, 6 Jun 2017 12:33:43 +0000 (14:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 17:04:59 +0000 (13:04 -0400)
commitf79bfdb63d689289ef829e0ab532823d1d1ae43b
treece8dad263cd594d68386f3df6a6a0a55c72317fd
parent8bc86ac32755def1b796dae5c8cb973a4be8c6e5
s390/qeth: remove skb_is_nonlinear() check on IQD

qeth doesn't advertise NETIF_F_SG for L3 IQDs. So trust the stack to
not hand us any nonlinear skbs, and remove an always-true condition.

With the fact that data_offset < 0 is no longer possible on IQDs,
apply a small cleanup to subsequent code.

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_l3_main.c