Skip to content
Commit 816967d5 authored by Tom Rix's avatar Tom Rix Committed by Takashi Iwai
Browse files

ALSA: emu10k1: set variables emu1010_routing_info and emu1010_pads_info...


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: default avatarTom Rix <trix@redhat.com>
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230518123826.925752-1-trix@redhat.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 46055699
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment