mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
ALSA: cmi8328: array_find() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
91a8561d0e
commit
c4e4a8fb23
@ -192,7 +192,7 @@ static int snd_cmi8328_mixer(struct snd_wss *chip)
|
||||
}
|
||||
|
||||
/* find index of an item in "-1"-ended array */
|
||||
int array_find(int array[], int item)
|
||||
static int array_find(int array[], int item)
|
||||
{
|
||||
int i;
|
||||
|
||||
@ -203,7 +203,7 @@ int array_find(int array[], int item)
|
||||
return -1;
|
||||
}
|
||||
/* the same for long */
|
||||
int array_find_l(long array[], long item)
|
||||
static int array_find_l(long array[], long item)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user