[PATCH 2/2] drivers/net: remove unused variables and add MSVC compiler flag

Stephen Hemminger stephen at networkplumber.org
Tue Jan 14 18:46:35 CET 2025


On Thu, 26 Dec 2024 10:41:44 -0800
Andre Muezerie <andremue at linux.microsoft.com> wrote:

> Removed unused variables and added MSVC specific compiler flag to
> ignore warnings about unused variables, like is being done for
> other compilers.
> 
> Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>
> ---
>  drivers/net/ice/base/ice_switch.c  |  2 --
>  drivers/net/ice/base/meson.build   | 16 ++++++---
>  drivers/net/qede/base/ecore_dcbx.c |  2 --
>  drivers/net/qede/base/ecore_mcp.c  |  2 --
>  drivers/net/qede/base/meson.build  | 57 +++++++++++++++++-------------
>  5 files changed, 43 insertions(+), 36 deletions(-)


Makes sense, but this base (ie shared across OS code).
Can't make changes there in general; and requires approval of that PMD maintainer.


More information about the dev mailing list