aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/oss
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-23 12:47:34 +0100
committerTakashi Iwai <tiwai@suse.de>2019-01-24 14:40:25 +0100
commitde89750c56f4bf2f04492c6ce298911381a7597a (patch)
tree5bb0b4ed731585aec488a7c9ab581bd8ab4a759f /sound/core/oss
parentALSA: fireface: comment cleanup about destination address of async transactions for MIDI messages (diff)
downloadlinux-dev-de89750c56f4bf2f04492c6ce298911381a7597a.tar.xz
linux-dev-de89750c56f4bf2f04492c6ce298911381a7597a.zip
ALSA: pcm: Drop unused snd_pcm_substream.file field
It's assigned but nowhere used. Let's remove it. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/oss')
-rw-r--r--sound/core/oss/pcm_oss.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/core/oss/pcm_oss.c b/sound/core/oss/pcm_oss.c
index 467039b342b5..d5b0d7ba83c4 100644
--- a/sound/core/oss/pcm_oss.c
+++ b/sound/core/oss/pcm_oss.c
@@ -2427,7 +2427,6 @@ static int snd_pcm_oss_open_file(struct file *file,
}
pcm_oss_file->streams[idx] = substream;
- substream->file = pcm_oss_file;
snd_pcm_oss_init_substream(substream, &setup[idx], minor);
}