summaryrefslogtreecommitdiffstats
path: root/sound/firewire/amdtp-stream.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2019-05-24 00:14:38 +0900
committerTakashi Iwai <tiwai@suse.de>2019-05-24 09:05:15 +0200
commit16be458993be75ca255cee176df47955608b4df8 (patch)
treef3ec89c6c802933965bf8196ac14e03ead93120b /sound/firewire/amdtp-stream.h
parent252219c7b38c76b0da374d5197cc825772fd487d (diff)
downloadlinux-16be458993be75ca255cee176df47955608b4df8.tar.bz2
ALSA: firewire-lib: unify packet handler for IT context
The handlers for packet with CIP and without CIP include common codes. This commit unifies them and remove an member for pointer to callback function from data structure. Signed-off-by: Takashi Sakamoto <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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/firewire/amdtp-stream.h b/sound/firewire/amdtp-stream.h
index 234483a31df5..3942894c11ac 100644
--- a/sound/firewire/amdtp-stream.h
+++ b/sound/firewire/amdtp-stream.h
@@ -108,9 +108,6 @@ struct amdtp_stream {
struct iso_packets_buffer buffer;
int packet_index;
int tag;
- int (*handle_packet)(struct amdtp_stream *s, unsigned int cycle,
- const __be32 *ctx_header, __be32 *buffer,
- unsigned int index);
union {
struct {
unsigned int ctx_header_size;