]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ALSA: fireface: obsolete usage of ktime_set() for zero assignment
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 14 Apr 2017 14:06:54 +0000 (23:06 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 20 Apr 2017 13:00:54 +0000 (15:00 +0200)
In development period for Linux v4.10, ktime_t became an alias of s64,
instead of union. I forgot it. We can just assign zero, instead of usage
of ktime_set(0, 0).

Fixes: 19174295788 ("ALSA: fireface: add transaction support")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireface/ff-transaction.c

index d1b098f8ae42f058fc73dda71b74aee8f9fede0f..dd6c8e839647f64d8eddc203b199e30014bc2738 100644 (file)
@@ -21,7 +21,7 @@ static void finish_transmit_midi_msg(struct snd_ff *ff, unsigned int port,
 
        if (rcode != RCODE_COMPLETE) {
                /* Transfer the message again, immediately. */
-               ff->next_ktime[port] = ktime_set(0, 0);
+               ff->next_ktime[port] = 0;
                schedule_work(&ff->rx_midi_work[port]);
                return;
        }