Re: [PATCH 1/2] staging: octeon: refactor interface check logic in ethernet.c

2021-02-22 Thread Greg Kroah-Hartman
On Sun, Feb 21, 2021 at 09:35:44PM +0530, Shreesh Adiga wrote: > The check for interface is duplicated in 3 places and has been refactored > into a function. > > Signed-off-by: Shreesh Adiga <16567adigashre...@gmail.com> > --- > drivers/staging/octeon/ethernet.c | 18 +- > 1 file

[PATCH 1/2] staging: octeon: refactor interface check logic in ethernet.c

2021-02-21 Thread Shreesh Adiga
The check for interface is duplicated in 3 places and has been refactored into a function. Signed-off-by: Shreesh Adiga <16567adigashre...@gmail.com> --- drivers/staging/octeon/ethernet.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git