net/enic: revert truncated packets counter fix
authorNelson Escobar <neescoba@cisco.com>
Wed, 12 Oct 2016 20:11:29 +0000 (13:11 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 26 Oct 2016 17:38:18 +0000 (19:38 +0200)
commitc92efcae6de9fc9410ff9f0d82857b7f87a2e543
treedd2e2c72bd6e64230bdbea725c2810d4a7db3fec
parente8a71c46055a81f7d0b43515ebaf4763a6b419b9
net/enic: revert truncated packets counter fix

The reason this commit was needed was because of a misconfiguration of
the receive queue when not using Rx scatter.  This patch is
unnecessary if the receive queue is configured correctly.

Fixes: d142e1ac1089 ("net/enic: fix calculation of truncated packets")

Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_main.c