]> Git Repo - linux.git/commit
[ALSA] fix compilation warning in GCC
authorMiguel Boton <[email protected]>
Sun, 13 Jan 2008 11:03:53 +0000 (12:03 +0100)
committerJaroslav Kysela <[email protected]>
Thu, 31 Jan 2008 16:29:56 +0000 (17:29 +0100)
commitbc9abce0de0b180817bc7e9f73145ef0b6a464ef
treec0da48067ad4318a32d3c35249214806a64a6236
parent52a1d4f9d6e40c2473a85105cb5e055914a4779d
[ALSA] fix compilation warning in GCC

'snd_shutdown_f_ops' is not a pointer so its address will never be NULL.
GCC will complain because 'fops_get' will do an unnecessary check because
'&snd_shutdown_f_ops' is always true.

Signed-off-by: Miguel Boton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
sound/core/init.c
This page took 0.044923 seconds and 4 git commands to generate.