[Intel-wired-lan] [PATCH net-next] ixgbe: introduce a helper to simplify code
Bowers, AndrewX
andrewx.bowers at intel.com
Tue May 29 21:37:55 UTC 2018
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of YueHaibing
> Sent: Wednesday, May 23, 2018 5:08 AM
> To: davem at davemloft.net; Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>
> Cc: netdev at vger.kernel.org; YueHaibing <yuehaibing at huawei.com>; intel-
> wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH net-next] ixgbe: introduce a helper to
> simplify code
>
> ixgbe_dbg_reg_ops_read and ixgbe_dbg_netdev_ops_read copy-pasting
> the same code except for
> ixgbe_dbg_netdev_ops_buf/ixgbe_dbg_reg_ops_buf,
> so introduce a helper ixgbe_dbg_common_ops_read to remove redundant
> code.
>
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>
> ---
> drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c | 57 +++++++++-----------
> ----
> 1 file changed, 21 insertions(+), 36 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list