]> git.baikalelectronics.ru Git - kernel.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)
commita089f4892116a88c346d1ce3408ec281f6cdbb60
treef983bb64908bcc8bdc1cf87e5624f48f7dbcc5aa
parent3af6f9b30151df3d00c16910f93be0d2013c4428
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