On Thu, 13 Nov 2025 22:11:09 +0530
Venkat Kumar Ande <[email protected]> wrote:

> Build warning reported for local variable set and not used on GCC-16.
> Fix the issue by using the variable for missed register write operation.
> 
> ../drivers/net/axgbe/axgbe_ethdev.c: In function ‘axgbe_timesync_disable’:
> ../drivers/net/axgbe/axgbe_ethdev.c:1744:22: warning:
> variable ‘mac_tscr’ set but not used [-Wunused-but-set-variable=]
>  1744 |         unsigned int mac_tscr = 0;
>       |                      ^~~~~~~~
> 
> Bugzilla ID: 1819
> Fixes: e04449488fdb ("net/axgbe: support IEEE 1588 PTP")
> Cc: [email protected]
> 
> Signed-off-by: Venkat Kumar Ande <[email protected]>
> ---

Queued to next-net

Reply via email to