Home
last modified time | relevance | path

Searched hist:"816967 d55f425a647137ef884d8e92f2baf541dc" (Results 1 – 1 of 1) sorted by relevance

/linux/sound/pci/emu10k1/
H A Demumixer.cdiff 816967d55f425a647137ef884d8e92f2baf541dc Thu May 18 14:38:26 CEST 2023 Tom Rix <trix@redhat.com> ALSA: emu10k1: set variables emu1010_routing_info and emu1010_pads_info storage-class-specifier to static

smatch reports
sound/pci/emu10k1/emumixer.c:519:39: warning: symbol
'emu1010_routing_info' was not declared. Should it be static?
sound/pci/emu10k1/emumixer.c:859:36: warning: symbol
'emu1010_pads_info' was not declared. Should it be static?

These variables are only used in their defining file, so it should be static

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230518123826.925752-1-trix@redhat.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>