diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-03-19 04:59:21 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-03-19 04:59:21 -0400 |
commit | 98204646f2b15d368701265e4194b773a6f94600 (patch) | |
tree | 2226a42bf8d492f35102aeeb2c48d343aa79ec03 /sound/core | |
parent | cad377acf3d6af6279622048e96680e79e352183 (diff) |
ALSA: pcm - avoid unnecessary inline
Remove unnecessary explicit inlininig of internal functions.
Let compiler optimize.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/pcm_lib.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c index 2ff25ed4d834..302654769faf 100644 --- a/sound/core/pcm_lib.c +++ b/sound/core/pcm_lib.c | |||
@@ -148,8 +148,9 @@ static void xrun(struct snd_pcm_substream *substream) | |||
148 | } | 148 | } |
149 | } | 149 | } |
150 | 150 | ||
151 | static inline snd_pcm_uframes_t snd_pcm_update_hw_ptr_pos(struct snd_pcm_substream *substream, | 151 | static snd_pcm_uframes_t |
152 | struct snd_pcm_runtime *runtime) | 152 | snd_pcm_update_hw_ptr_pos(struct snd_pcm_substream *substream, |
153 | struct snd_pcm_runtime *runtime) | ||
153 | { | 154 | { |
154 | snd_pcm_uframes_t pos; | 155 | snd_pcm_uframes_t pos; |
155 | 156 | ||
@@ -167,8 +168,8 @@ static inline snd_pcm_uframes_t snd_pcm_update_hw_ptr_pos(struct snd_pcm_substre | |||
167 | return pos; | 168 | return pos; |
168 | } | 169 | } |
169 | 170 | ||
170 | static inline int snd_pcm_update_hw_ptr_post(struct snd_pcm_substream *substream, | 171 | static int snd_pcm_update_hw_ptr_post(struct snd_pcm_substream *substream, |
171 | struct snd_pcm_runtime *runtime) | 172 | struct snd_pcm_runtime *runtime) |
172 | { | 173 | { |
173 | snd_pcm_uframes_t avail; | 174 | snd_pcm_uframes_t avail; |
174 | 175 | ||
@@ -200,7 +201,7 @@ static inline int snd_pcm_update_hw_ptr_post(struct snd_pcm_substream *substream | |||
200 | } \ | 201 | } \ |
201 | } while (0) | 202 | } while (0) |
202 | 203 | ||
203 | static inline int snd_pcm_update_hw_ptr_interrupt(struct snd_pcm_substream *substream) | 204 | static int snd_pcm_update_hw_ptr_interrupt(struct snd_pcm_substream *substream) |
204 | { | 205 | { |
205 | struct snd_pcm_runtime *runtime = substream->runtime; | 206 | struct snd_pcm_runtime *runtime = substream->runtime; |
206 | snd_pcm_uframes_t pos; | 207 | snd_pcm_uframes_t pos; |