diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-07-02 14:35:52 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-07-07 12:08:45 +0200 |
commit | 74729a8f06b67661f7a5f217cabfcce451ed594f (patch) | |
tree | 4f011778d8e14a4e732ebc7b6bede6b8808f1872 /sound/firewire | |
parent | fe37285059fd0d53c051727ca052c2c37935370e (diff) | |
download | linux-stable-74729a8f06b67661f7a5f217cabfcce451ed594f.tar.gz linux-stable-74729a8f06b67661f7a5f217cabfcce451ed594f.tar.bz2 linux-stable-74729a8f06b67661f7a5f217cabfcce451ed594f.zip |
ASoC: pci/emu10k1: remove "set but not used' warnings
Fix W=1 warnings. Mark variables used for reads as __always_unused.
sound/pci/emu10k1/emu10k1_main.c: In function
‘snd_emu10k1_cardbus_init’:
sound/pci/emu10k1/emu10k1_main.c:626:15: warning: variable ‘value’ set
but not used [-Wunused-but-set-variable]
626 | unsigned int value;
| ^~~~~
sound/pci/emu10k1/emu10k1_main.c: In function
‘snd_emu1010_load_firmware_entry’:
sound/pci/emu10k1/emu10k1_main.c:656:15: warning: variable
‘write_post’ set but not used [-Wunused-but-set-variable]
656 | unsigned int write_post;
| ^~~~~~~~~~
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200702193604.169059-12-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions