Re: [PATCH net-next v2 04/10] drivers/net/ethernet: clean up unused assignments

2020-09-15 Thread Edward Cree
On 15/09/2020 02:44, Jesse Brandeburg wrote: > As part of the W=1 compliation series, these lines all created > warnings about unused variables that were assigned a value. Most > of them are from register reads, but some are just picking up > a return value from a function and never doing anything

[PATCH net-next v2 04/10] drivers/net/ethernet: clean up unused assignments

2020-09-14 Thread Jesse Brandeburg
As part of the W=1 compliation series, these lines all created warnings about unused variables that were assigned a value. Most of them are from register reads, but some are just picking up a return value from a function and never doing anything with it. The register reads should be OK, because th