net/ice/base: move and redefine debug cq function
authorLeyi Rong <leyi.rong@intel.com>
Wed, 19 Jun 2019 15:17:55 +0000 (23:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:48 +0000 (20:31 +0200)
commitf21a02d833391030e7d2e19ac7e061c19bfd5310
treeaf6560a31a40dcab8b4959b6aed183dac86e6028
parent8da44609791ebc3cfa8b3853856f2bed18fefc65
net/ice/base: move and redefine debug cq function

The ice_debug_cq function is only called from ice_controlq.c, and has no
other callers outside of that file. Move it and mark it static to avoid
namespace pollution.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_common.h
drivers/net/ice/base/ice_controlq.c