net/qede/base: code cleanup
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 7 Oct 2017 06:31:06 +0000 (23:31 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:58 +0000 (01:36 +0100)
commitb9ebba32cc3e68f62ce13cee4a7ca364d9ac01b9
tree82d9034aed3407ad6fa2e91876f70b204f5c1546
parentc68f27a2a48f7c0276d4032e4ca8f11d4cb5ea9d
net/qede/base: code cleanup

- Remove some dead definitions, function declarations and unused
   variables
 - Remove an obsolete workaround from ecore_int_igu_enable()
 - Remove set variables that are not used
 - Remove needless check in  ecore_init_wfq_param() when configuring
   minimum vport BW. We already check whether total for all vports is
   greater than the PF's, so no need to check independently the current
   requested configuration as well.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dcbx.c
drivers/net/qede/base/ecore_dcbx_api.h
drivers/net/qede/base/ecore_dev.c
drivers/net/qede/base/ecore_hw.h
drivers/net/qede/base/ecore_int.c
drivers/net/qede/base/ecore_mcp.c