Remove one of sound/oss/cmpci.c compile warnings
In message <[email protected]> you write:
Quoted 9 lines
Hi!
This patch removes this compile warning:
sound/oss/cmpci.c: In function `cm_release_mixdev':sound/oss/cmpci.c:1465: warning: unused variable `s'GCC doesn't seem to unstand that
VALIDATE_STATEmacro uses s variable. I hope this is correct way to fix this.
Because it doesn't. A better change would be:
VALIDATE_STATE((struct cm_state *)file->private_data);
Or to remove the entire function.
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.