mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
ALSA: firewire-tascam: remove buffer initialization in driver side
The given buffer to callback function is cleared in caller side. This commit removes buffer initialization in callee side. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
c80a1daa7e
commit
9f9c5617c8
@ -67,8 +67,6 @@ static int fill_message(struct snd_rawmidi_substream *substream, u8 *buf)
|
||||
u8 status;
|
||||
int consume;
|
||||
|
||||
buf[0] = buf[1] = buf[2] = buf[3] = 0x00;
|
||||
|
||||
len = snd_rawmidi_transmit_peek(substream, buf + 1, 3);
|
||||
if (len == 0)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user