The patch titled
     alsa: fix compilation warning in GCC
has been removed from the -mm tree.  Its filename was
     alsa-fix-compilation-warning-in-gcc.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: alsa: fix compilation warning in GCC
From: Miguel Boton <[EMAIL PROTECTED]>

'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]>
Cc: Jaroslav Kysela <[EMAIL PROTECTED]>
Cc: Takashi Iwai <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 sound/core/init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN sound/core/init.c~alsa-fix-compilation-warning-in-gcc 
sound/core/init.c
--- a/sound/core/init.c~alsa-fix-compilation-warning-in-gcc
+++ a/sound/core/init.c
@@ -340,8 +340,8 @@ int snd_card_disconnect(struct snd_card 
                list_add(&mfile->shutdown_list, &shutdown_files);
                spin_unlock(&shutdown_lock);
 
-               fops_get(&snd_shutdown_f_ops);
                mfile->file->f_op = &snd_shutdown_f_ops;
+               fops_get(mfile->file->f_op);
                
                mfile = mfile->next;
        }
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

git-netdev-all.patch
iwlwifi-fix-typo-in-drivers-net-wireless-iwlwifi-kconfig.patch
git-x86.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to