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>
This commit is contained in:

committed by
Takashi Iwai

parent
f2b3614cef
commit
78fa2c4d24
@@ -342,7 +342,6 @@ static const struct file_operations snd_shutdown_f_ops =
|
||||
int snd_card_disconnect(struct snd_card *card)
|
||||
{
|
||||
struct snd_monitor_file *mfile;
|
||||
struct file *file;
|
||||
int err;
|
||||
|
||||
if (!card)
|
||||
@@ -366,8 +365,6 @@ int snd_card_disconnect(struct snd_card *card)
|
||||
|
||||
spin_lock(&card->files_lock);
|
||||
list_for_each_entry(mfile, &card->files_list, list) {
|
||||
file = mfile->file;
|
||||
|
||||
/* it's critical part, use endless loop */
|
||||
/* we have no room to fail */
|
||||
mfile->disconnected_f_op = mfile->file->f_op;
|
||||
|
Reference in New Issue
Block a user