commit | e9c721837da2a73798243ded051ff0ffdbc6066b | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Wed May 23 20:08:13 2018 +0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Jun 04 10:21:13 2018 -0700 |
tree | 7aa0e3278887d1aa0489442515ccd89eb67feb36 | |
parent | 7d6446db1bcb1008b84db098f4629664cd8b06a6 [diff] |
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@huawei.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>