diff mbox series

[04/19] ALSA: pcm: Remove unused inline function snd_mask_sizeof

Message ID 20200909135744.33464-1-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series None | expand

Commit Message

Yue Haibing Sept. 9, 2020, 1:57 p.m. UTC
There is no caller in tree, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 include/sound/pcm_params.h | 5 -----
 1 file changed, 5 deletions(-)

Comments

Takashi Iwai Sept. 9, 2020, 4:44 p.m. UTC | #1
On Wed, 09 Sep 2020 15:57:44 +0200,
YueHaibing wrote:
> 
> There is no caller in tree, so can remove it.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Thanks, applied.


Takashi
diff mbox series

Patch

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));