Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: pcm: Remove unused inline function snd_mask_sizeof

There is no caller in tree, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200909135744.33464-1-yuehaibing@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

YueHaibing and committed by
Takashi Iwai
5554743d 175860c5

-5
-5
include/sound/pcm_params.h
··· 23 23 #define MASK_OFS(i) ((i) >> 5) 24 24 #define MASK_BIT(i) (1U << ((i) & 31)) 25 25 26 - static inline size_t snd_mask_sizeof(void) 27 - { 28 - return sizeof(struct snd_mask); 29 - } 30 - 31 26 static inline void snd_mask_none(struct snd_mask *mask) 32 27 { 33 28 memset(mask, 0, sizeof(*mask));