diff options
author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | 2024-03-06 19:30:54 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-03-29 18:58:44 +0300 |
commit | ee4300b24a32ced81e72e11fdceeb8d536997a28 (patch) | |
tree | ec087feb27faa6c28462e081ed8556a0bb2ed1d8 /net | |
parent | 6f31d6b643a32cc126cf86093fca1ea575948bf0 (diff) | |
download | linux-ee4300b24a32ced81e72e11fdceeb8d536997a28.tar.xz |
i40e: avoid forward declarations in i40e_nvm.c
Move code around to get rid of forward declarations. No functional
changes.
After a plain code juggling, checkpatch reported:
total: 0 errors, 7 warnings, 12 checks, 1581 lines checked
so while at it let's address old issues as well. Should we ever address
the remaining unnecessary forward declarations within
drivers/net/ethernet/intel/, consider this change as a starting
point/reference.
As reported in [0], there would be a lot more of work to do...if we
care.
[0]: https://lore.kernel.org/intel-wired-lan/Zeh8qadiTGf413YU@boxer/T/#u
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions