OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c80a1da
)
ALSA: firewire-tascam: remove buffer initialization in driver side
author
Takashi Sakamoto
<o-takashi@sakamocchi.jp>
Tue, 20 Oct 2015 14:46:55 +0000
(23:46 +0900)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 20 Oct 2015 15:49:13 +0000
(17:49 +0200)
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>
sound/firewire/tascam/tascam-transaction.c
patch
|
blob
|
history
diff --git
a/sound/firewire/tascam/tascam-transaction.c
b/sound/firewire/tascam/tascam-transaction.c
index
d4f64ae
..
370f932
100644
(file)
--- a/
sound/firewire/tascam/tascam-transaction.c
+++ b/
sound/firewire/tascam/tascam-transaction.c
@@
-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;