mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
ALSA: pcm: remove unused variable from snd_pcm_info()
Remove unused 'runtime' variable from function snd_pcm_info(). The last usage of this variable was removed with the 'commit e11f0f90a626f9 ("ALSA: pcm: remove SNDRV_PCM_IOCTL1_INFO internal command")'. Change-Id: I3964d84f7cced811d15ff45a1c31cc28d20dc721 Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
This commit is contained in:
parent
e155cf8e28
commit
5b2b7b3caf
1 changed files with 0 additions and 2 deletions
|
@ -96,7 +96,6 @@ static inline void snd_leave_user(mm_segment_t fs)
|
|||
|
||||
int snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info)
|
||||
{
|
||||
struct snd_pcm_runtime *runtime;
|
||||
struct snd_pcm *pcm = substream->pcm;
|
||||
struct snd_pcm_str *pstr = substream->pstr;
|
||||
|
||||
|
@ -112,7 +111,6 @@ int snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info)
|
|||
info->subdevices_count = pstr->substream_count;
|
||||
info->subdevices_avail = pstr->substream_count - pstr->substream_opened;
|
||||
strlcpy(info->subname, substream->name, sizeof(info->subname));
|
||||
runtime = substream->runtime;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue