Skip to content

Commit

Permalink
ALSA: pcm: Remove unused inline function snd_mask_sizeof
Browse files Browse the repository at this point in the history
There is no caller in tree, so can remove it.

Signed-off-by: YueHaibing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
YueHaibing authored and tiwai committed Sep 9, 2020
1 parent 175860c commit 5554743
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/sound/pcm_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 5554743

Please sign in to comment.