diff options
author | Luca Tettamanti <kronos.it@gmail.com> | 2011-05-25 22:43:27 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-05-26 08:19:04 +0200 |
commit | 78fa2c4d2465d014e67d3e12d948425856587251 (patch) | |
tree | 87914a2c91f3f555da43088445a686f0f3400d7d /sound/core/oss/linear.c | |
parent | f2b3614cefb61ee6046a0aaee503ee37f227d310 (diff) | |
download | linux-78fa2c4d2465d014e67d3e12d948425856587251.tar.bz2 |
ALSA: core: remove unused variables.
Drop a few variables that are never read.
Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/oss/linear.c')
-rw-r--r-- | sound/core/oss/linear.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/core/oss/linear.c b/sound/core/oss/linear.c index 13b3f6f49fae..2045697f449d 100644 --- a/sound/core/oss/linear.c +++ b/sound/core/oss/linear.c @@ -90,11 +90,8 @@ static snd_pcm_sframes_t linear_transfer(struct snd_pcm_plugin *plugin, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) { - struct linear_priv *data; - if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) return -ENXIO; - data = (struct linear_priv *)plugin->extra_data; if (frames == 0) return 0; #ifdef CONFIG_SND_DEBUG |