diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-09-09 21:57:44 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-09-09 18:43:07 +0200 |
commit | 5554743d88483934cabff45943913be0830e66bc (patch) | |
tree | f0ee651da3954556038be4f303f5d533f2dbea60 | |
parent | 175860c50a800fb46f5f3cb44ed3db0344c0fcc5 (diff) | |
download | linux-5554743d88483934cabff45943913be0830e66bc.tar.gz linux-5554743d88483934cabff45943913be0830e66bc.tar.bz2 linux-5554743d88483934cabff45943913be0830e66bc.zip |
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>
-rw-r--r-- | include/sound/pcm_params.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sound/pcm_params.h b/include/sound/pcm_params.h index 36f94735d23d..ba184f49f7e1 100644 --- a/include/sound/pcm_params.h +++ b/include/sound/pcm_params.h @@ -23,11 +23,6 @@ int snd_pcm_hw_param_value(const struct snd_pcm_hw_params *params, #define MASK_OFS(i) ((i) >> 5) #define MASK_BIT(i) (1U << ((i) & 31)) -static inline size_t snd_mask_sizeof(void) -{ - return sizeof(struct snd_mask); -} - static inline void snd_mask_none(struct snd_mask *mask) { memset(mask, 0, sizeof(*mask)); |