[PATCH 7/7] ASoC: codecs: wm8400: add _maybe_unused as needed

Charles Keepax ckeepax at opensource.cirrus.com
Thu Jul 2 11:23:18 CEST 2020


On Wed, Jul 01, 2020 at 01:13:20PM -0500, Pierre-Louis Bossart wrote:
> Fix W=1 warning by adding __maybe_unused. Maintainers for this file
> may want to double-check if those definitions are necessary.
> 
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
> ---

Yeah I think in this case better to remove them, they arn't used
in the driver, the driver is pretty old and no one really works
on it so little chance the features are ever getting added.

Thanks,
Charles


More information about the Alsa-devel mailing list