> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of Jesse > Brandeburg > Sent: Sunday, February 11, 2024 3:31 AM > To: intel-wired-...@lists.osuosl.org > Cc: net...@vger.kernel.org; Brandeburg, Jesse <jesse.brandeb...@intel.com>; > Eric Dumazet <eduma...@google.com>; Nguyen, Anthony L > <anthony.l.ngu...@intel.com>; Brady, Alan <alan.br...@intel.com>; Jakub > Kicinski <k...@kernel.org>; Paolo Abeni <pab...@redhat.com>; David S. Miller > <da...@davemloft.net> > Subject: [Intel-wired-lan] [PATCH iwl-next v1 1/2] igb: simplify pci ops > declaration > > The igb driver was pre-declaring tons of functions just so that it could > have an early declaration of the pci_driver struct. > > Delete a bunch of the declarations and move the struct to the bottom of the > file, after all the functions are declared. > > Reviewed-by: Alan Brady <alan.br...@intel.com> > Signed-off-by: Jesse Brandeburg <jesse.brandeb...@intel.com> > --- > e1p v2: add back mistakenly deleted pm ops struct. > --- > drivers/net/ethernet/intel/igb/igb_main.c | 51 ++++++++++------------- > 1 file changed, 22 insertions(+), 29 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pu...@intel.com> (A Contingent worker at Intel)