summaryrefslogtreecommitdiff
path: root/sound/xen
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-07-02 14:35:57 -0500
committerTakashi Iwai <tiwai@suse.de>2020-07-07 12:11:18 +0200
commit6add6b02e53f37638a55d64bbdd4cbf7abb2b1dd (patch)
treef3c81fa6ebd6c3110184692856d48dfabc088332 /sound/xen
parentab3ee09261711fdf7203796656e748a59e8064ff (diff)
ALSA: pci/oxygen/xonar_wm87x6: remove always true condition
Fix W=1 warnings: sound/pci/oxygen/xonar_wm87x6.c: In function ‘wm8776_write’: sound/pci/oxygen/xonar_wm87x6.c:119:11: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] 119 | if (reg >= WM8776_HPLVOL && reg <= WM8776_DACMASTER) | ^~ sound/pci/oxygen/xonar_wm87x6.c: In function ‘wm8766_write’: sound/pci/oxygen/xonar_wm87x6.c:147:12: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] 147 | if ((reg >= WM8766_LDA1 && reg <= WM8766_RDA1) || | ^~ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200702193604.169059-17-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/xen')
0 files changed, 0 insertions, 0 deletions