Re: [PATCH net-next] rocker: Drop pointless static qualifier

2018-10-19 Thread David Miller
From: YueHaibing Date: Fri, 19 Oct 2018 12:02:59 + > There is no need to have the 'struct rocker_desc_info *desc_info' > variable static since new value always be assigned before use it. > > Signed-off-by: YueHaibing Applied, thank you.

Re: [PATCH net-next] rocker: Drop pointless static qualifier

2018-10-19 Thread Jiri Pirko
Fri, Oct 19, 2018 at 02:02:59PM CEST, yuehaib...@huawei.com wrote: >There is no need to have the 'struct rocker_desc_info *desc_info' >variable static since new value always be assigned before use it. > >Signed-off-by: YueHaibing Acked-by: Jiri Pirko

[PATCH net-next] rocker: Drop pointless static qualifier

2018-10-19 Thread YueHaibing
There is no need to have the 'struct rocker_desc_info *desc_info' variable static since new value always be assigned before use it. Signed-off-by: YueHaibing --- drivers/net/ethernet/rocker/rocker_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git