[tiwai-sound:test/hda-reorg 41/53] sound/hda/codecs/cirrus/cs421x.c:561:35: warning: 'cs421x_codec_ops' defined but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git test/hda-reorg
head:   6119728edf86cefcbf7b20e000414c85916e900d
commit: 484072d3f99c402030fcee94e28ab3ea76d04247 [41/53] ALSA: hda/cirrus: Split to cs420x and cs421x drivers
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20250705/202507051737.DMAkxayN-lkp@xxxxxxxxx/config)
compiler: sh4-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250705/202507051737.DMAkxayN-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507051737.DMAkxayN-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> sound/hda/codecs/cirrus/cs421x.c:561:35: warning: 'cs421x_codec_ops' defined but not used [-Wunused-const-variable=]
     561 | static const struct hda_codec_ops cs421x_codec_ops = {
         |                                   ^~~~~~~~~~~~~~~~


vim +/cs421x_codec_ops +561 sound/hda/codecs/cirrus/cs421x.c

   560	
 > 561	static const struct hda_codec_ops cs421x_codec_ops = {
   562		.probe = cs421x_probe,
   563		.remove = snd_hda_gen_remove,
   564		.build_controls = snd_hda_gen_build_controls,
   565		.build_pcms = snd_hda_gen_build_pcms,
   566		.init = cs421x_init,
   567		.unsol_event = snd_hda_jack_unsol_event,
   568		.suspend = cs421x_suspend,
   569		.stream_pm = snd_hda_gen_stream_pm,
   570	};
   571	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux