Re: [RFC PATCH net-next v1 06/11] drivers/net/ethernet: clean up unused assignments

2020-09-11 Thread Edward Cree
On 11/09/2020 02:23, 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

[RFC PATCH net-next v1 06/11] drivers/net/ethernet: clean up unused assignments

2020-09-10 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