Commit ff98143b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] cmpci warning fixes

From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

sound/oss/cmpci.c: In function `cm_release_mixdev':
sound/oss/cmpci.c:1465: warning: unused variable `s'
parent 52930067
......@@ -1462,7 +1462,9 @@ static int cm_open_mixdev(struct inode *inode, struct file *file)
static int cm_release_mixdev(struct inode *inode, struct file *file)
{
struct cm_state *s = (struct cm_state *)file->private_data;
struct cm_state *s;
s = file->private_data;
VALIDATE_STATE(s);
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment