summaryrefslogtreecommitdiff
path: root/sound/firewire
diff options
context:
space:
mode:
Diffstat (limited to 'sound/firewire')
-rw-r--r--sound/firewire/tascam/tascam-transaction.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/firewire/tascam/tascam-transaction.c b/sound/firewire/tascam/tascam-transaction.c
index 370f9323b3df..7c8068469f57 100644
--- a/sound/firewire/tascam/tascam-transaction.c
+++ b/sound/firewire/tascam/tascam-transaction.c
@@ -62,10 +62,8 @@ static int fill_message(struct snd_rawmidi_substream *substream, u8 *buf)
{
struct snd_tscm *tscm = substream->rmidi->private_data;
unsigned int port = substream->number;
- unsigned int len;
- unsigned int i;
+ int i, len, consume;
u8 status;
- int consume;
len = snd_rawmidi_transmit_peek(substream, buf + 1, 3);
if (len == 0)