> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Jesse > Brandeburg > Sent: Wednesday, March 6, 2024 8:20 AM > To: [email protected] > Cc: [email protected]; [email protected]; Eric Dumazet > <[email protected]>; Nguyen, Anthony L <[email protected]>; Brady, > Alan <[email protected]>; [email protected]; Jakub Kicinski > <[email protected]>; Paolo Abeni <[email protected]>; David S. Miller > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next v2 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 <[email protected]> > Signed-off-by: Jesse Brandeburg <[email protected]> > --- > v2: address compilation failure when CONFIG_PM=n, which is then updated > in patch 2/2, fix alignment. > changes in v1 reviewed by Simon Horman > changes in v1 reviewed by Paul Menzel > v1: original net-next posting > --- > drivers/net/ethernet/intel/igb/igb_main.c | 53 ++++++++++------------- > 1 file changed, 24 insertions(+), 29 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
