net/bnxt: fix uninitialized variable access
authorFerruh Yigit <ferruh.yigit@intel.com>
Sun, 28 Oct 2018 04:35:42 +0000 (04:35 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Nov 2018 17:54:48 +0000 (18:54 +0100)
commitc06aee624d69f91f253fa8e6f0c809c03ef126ce
tree7fb093b23f7271a70ea9991a81e3dd6156fc0ad5
parent054d1be48cc114c5d3bf87c7ebdf46703876e8d5
net/bnxt: fix uninitialized variable access

ag_cons is used uninitialized, it is used when DEBUG enabled, remove
debug code.

Fixes: 0958d8b6435d ("net/bnxt: support LRO")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c