diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2023-01-07 11:32:12 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-01-08 15:00:09 +0100 |
commit | f2bdee856f20e21416130c392a3ec527079a1226 (patch) | |
tree | 50b1ddd725cd8317b0d93b1ddc90c276bae7363e /sound/firewire/amdtp-stream.h | |
parent | 119c446a484a646a5762ff11ecff53c337f0e236 (diff) |
ALSA: firewire-lib: code refactoring for pool position in rx packets
When scheduling transmission of rx packets, current implementation
fulfils packet descriptors after pooling sequence descriptors. It is for
packet queueing. Besides the implementations do not necessarily have
good readability.
This commit refactors them by adding function local variables and
function arguments.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20230107023214.29132-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/amdtp-stream.h')
-rw-r--r-- | sound/firewire/amdtp-stream.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/firewire/amdtp-stream.h b/sound/firewire/amdtp-stream.h index baab63d31ddd..dbe6d4bcbb8a 100644 --- a/sound/firewire/amdtp-stream.h +++ b/sound/firewire/amdtp-stream.h @@ -160,7 +160,6 @@ struct amdtp_stream { struct seq_desc *descs; unsigned int size; unsigned int pos; - unsigned int head; } seq; unsigned int data_block_state; |