]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mlx4: trust shinfo->gso_segs
authorEric Dumazet <edumazet@google.com>
Wed, 5 Apr 2017 15:49:02 +0000 (08:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Apr 2017 20:27:49 +0000 (13:27 -0700)
commit75d04aa368d9e945923819e9cc420fac125967ea
treef983bb64908bcc8bdc1cf87e5624f48f7dbcc5aa
parent827d240a232d27cc12e9657d012f2e5ba953e98a
mlx4: trust shinfo->gso_segs

mlx4 is the only driver in the tree making a point to recompute
shinfo->gso_segs.

Lets remove superfluous code.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tariq Toukan <tariqt@mellanox.com>
Cc: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c