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>
This commit is contained in:
Родитель
427f42e4cf
Коммит
330fb10df8
|
@ -151,13 +151,11 @@ static int send_msg( struct mixart_mgr *mgr,
|
||||||
{
|
{
|
||||||
u32 headptr, tailptr;
|
u32 headptr, tailptr;
|
||||||
u32 msg_frame_address;
|
u32 msg_frame_address;
|
||||||
int err, i;
|
int i;
|
||||||
|
|
||||||
if (snd_BUG_ON(msg->size % 4))
|
if (snd_BUG_ON(msg->size % 4))
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
err = 0;
|
|
||||||
|
|
||||||
/* get message frame address */
|
/* get message frame address */
|
||||||
tailptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_TAIL));
|
tailptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_TAIL));
|
||||||
headptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_HEAD));
|
headptr = readl_be(MIXART_MEM(mgr, MSG_INBOUND_FREE_HEAD));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче