Re: (subset) [PATCH 00/34] address all -Wunused-const warnings

From: Sebastian Reichel
Date: Wed Apr 10 2024 - 04:03:10 EST



On Wed, 03 Apr 2024 10:06:18 +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> Compilers traditionally warn for unused 'static' variables, but not
> if they are constant. The reason here is a custom for C++ programmers
> to define named constants as 'static const' variables in header files
> instead of using macros or enums.
>
> [...]

Applied, thanks!

[09/34] power: rt9455: hide unused rt9455_boost_voltage_values
commit: 452d8950db3e839aba1bb13bc5378f4bac11fa04

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>