projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
427f42e
)
ALSA: mixart: Remove unused variable
author
Sachin Kamat
<sachin.kamat@samsung.com>
Tue, 1 Jul 2014 11:32:58 +0000
(17:02 +0530)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 1 Jul 2014 12:06:31 +0000
(14:06 +0200)
'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>
sound/pci/mixart/mixart_core.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/mixart/mixart_core.c
b/sound/pci/mixart/mixart_core.c
index 71f4bdcc4055fbec2aa37317a5a8d2e1c16bc123..84f67450924e55fec906cb546151ad32ae9e7d28 100644
(file)
--- 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,
{
u32 headptr, tailptr;
u32 msg_frame_address;
- int
err,
i;
+ int i;
if (snd_BUG_ON(msg->size % 4))
return -EINVAL;
- err = 0;
-
/* get message frame address */
tailptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_TAIL));
headptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_HEAD));