aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-07-01 07:32:58 -0400
committerTakashi Iwai <tiwai@suse.de>2014-07-01 08:06:31 -0400
commit330fb10df832b0008892964601d9d142c14a906f (patch)
treea2a1b47681e36c2bc620b98bf60bbe5786978c81 /sound/pci
parent427f42e4cf3a681d181fd1f0492731b167807877 (diff)
ALSA: mixart: Remove unused variable
'err' is not used in the function. Remove it. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/mixart/mixart_core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/mixart/mixart_core.c b/sound/pci/mixart/mixart_core.c
index 71f4bdcc4055..84f67450924e 100644
--- a/sound/pci/mixart/mixart_core.c
+++ b/sound/pci/mixart/mixart_core.c
@@ -151,13 +151,11 @@ static int send_msg( struct mixart_mgr *mgr,
151{ 151{
152 u32 headptr, tailptr; 152 u32 headptr, tailptr;
153 u32 msg_frame_address; 153 u32 msg_frame_address;
154 int err, i; 154 int i;
155 155
156 if (snd_BUG_ON(msg->size % 4)) 156 if (snd_BUG_ON(msg->size % 4))
157 return -EINVAL; 157 return -EINVAL;
158 158
159 err = 0;
160
161 /* get message frame address */ 159 /* get message frame address */
162 tailptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_TAIL)); 160 tailptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_TAIL));
163 headptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_HEAD)); 161 headptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_HEAD));