Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c320cb9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ALSA: pcm: remove unused variable from snd_pcm_info()"

parents 3aa23cca 9ef9f25f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -200,7 +200,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;

@@ -216,7 +215,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;
}