diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-10-20 23:46:55 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-10-20 17:49:13 +0200 |
commit | 9f9c5617c8f7dfd1190c438894a8701db25f171f (patch) | |
tree | 13ac358a0cd997df3b2ac0fe9cc556975fb6e700 /sound/firewire | |
parent | c80a1daa7eb6470b84868ed135a26f414b02bf2e (diff) |
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>
Diffstat (limited to 'sound/firewire')
-rw-r--r-- | sound/firewire/tascam/tascam-transaction.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/firewire/tascam/tascam-transaction.c b/sound/firewire/tascam/tascam-transaction.c index d4f64ae182e7..370f9323b3df 100644 --- 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; |