2024-04-10 08:02:53

by Sebastian Reichel

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


On Wed, 03 Apr 2024 10:06:18 +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <[email protected]>
>
> 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 <[email protected]>