Commit 359e3bc6 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fix a warning in sound/oss/opl3sa2.c.

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

sound/oss/opl3sa2.c:163: warning: `opl3sa2_lock' defined but not used
parent 0cfc4052
...@@ -160,7 +160,6 @@ typedef struct { ...@@ -160,7 +160,6 @@ typedef struct {
} opl3sa2_state_t; } opl3sa2_state_t;
static opl3sa2_state_t opl3sa2_state[OPL3SA2_CARDS_MAX]; static opl3sa2_state_t opl3sa2_state[OPL3SA2_CARDS_MAX];
static spinlock_t opl3sa2_lock = SPIN_LOCK_UNLOCKED;
/* Our parameters */ /* Our parameters */
...@@ -853,6 +852,8 @@ static struct pnp_driver opl3sa2_driver = { ...@@ -853,6 +852,8 @@ static struct pnp_driver opl3sa2_driver = {
/* End of component functions */ /* End of component functions */
#ifdef CONFIG_PM #ifdef CONFIG_PM
static spinlock_t opl3sa2_lock = SPIN_LOCK_UNLOCKED;
/* Power Management support functions */ /* Power Management support functions */
static int opl3sa2_suspend(struct pm_dev *pdev, unsigned int pm_mode) static int opl3sa2_suspend(struct pm_dev *pdev, unsigned int pm_mode)
{ {
......
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