Loading sound/core/seq/seq.c +0 −7 Original line number Diff line number Diff line Loading @@ -87,10 +87,6 @@ static int __init alsa_seq_init(void) if ((err = client_init_data()) < 0) goto error; /* init memory, room for selected events */ if ((err = snd_sequencer_memory_init()) < 0) goto error; /* init event queues */ if ((err = snd_seq_queues_init()) < 0) goto error; Loading Loading @@ -126,9 +122,6 @@ static void __exit alsa_seq_exit(void) /* unregister sequencer device */ snd_sequencer_device_done(); /* release event memory */ snd_sequencer_memory_done(); snd_seq_autoload_exit(); } Loading sound/core/seq/seq_memory.c +0 −12 Original line number Diff line number Diff line Loading @@ -504,18 +504,6 @@ int snd_seq_pool_delete(struct snd_seq_pool **ppool) return 0; } /* initialize sequencer memory */ int __init snd_sequencer_memory_init(void) { return 0; } /* release sequencer memory */ void __exit snd_sequencer_memory_done(void) { } /* exported to seq_clientmgr.c */ void snd_seq_info_pool(struct snd_info_buffer *buffer, struct snd_seq_pool *pool, char *space) Loading sound/core/seq/seq_memory.h +0 −6 Original line number Diff line number Diff line Loading @@ -94,12 +94,6 @@ struct snd_seq_pool *snd_seq_pool_new(int poolsize); /* remove pool */ int snd_seq_pool_delete(struct snd_seq_pool **pool); /* init memory */ int snd_sequencer_memory_init(void); /* release event memory */ void snd_sequencer_memory_done(void); /* polling */ int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, poll_table *wait); Loading sound/core/seq/seq_midi_emul.c +0 −12 Original line number Diff line number Diff line Loading @@ -728,15 +728,3 @@ void snd_midi_channel_free_set(struct snd_midi_channel_set *chset) kfree(chset); } EXPORT_SYMBOL(snd_midi_channel_free_set); static int __init alsa_seq_midi_emul_init(void) { return 0; } static void __exit alsa_seq_midi_emul_exit(void) { } module_init(alsa_seq_midi_emul_init) module_exit(alsa_seq_midi_emul_exit) sound/core/seq/seq_midi_event.c +0 −45 Original line number Diff line number Diff line Loading @@ -175,45 +175,12 @@ void snd_midi_event_reset_decode(struct snd_midi_event *dev) } EXPORT_SYMBOL(snd_midi_event_reset_decode); #if 0 void snd_midi_event_init(struct snd_midi_event *dev) { snd_midi_event_reset_encode(dev); snd_midi_event_reset_decode(dev); } #endif /* 0 */ void snd_midi_event_no_status(struct snd_midi_event *dev, int on) { dev->nostat = on ? 1 : 0; } EXPORT_SYMBOL(snd_midi_event_no_status); /* * resize buffer */ #if 0 int snd_midi_event_resize_buffer(struct snd_midi_event *dev, int bufsize) { unsigned char *new_buf, *old_buf; unsigned long flags; if (bufsize == dev->bufsize) return 0; new_buf = kmalloc(bufsize, GFP_KERNEL); if (new_buf == NULL) return -ENOMEM; spin_lock_irqsave(&dev->lock, flags); old_buf = dev->buf; dev->buf = new_buf; dev->bufsize = bufsize; reset_encode(dev); spin_unlock_irqrestore(&dev->lock, flags); kfree(old_buf); return 0; } #endif /* 0 */ /* * read one byte and encode to sequencer event: * return true if MIDI bytes are encoded to an event Loading Loading @@ -503,15 +470,3 @@ static int extra_decode_xrpn(struct snd_midi_event *dev, unsigned char *buf, } return idx; } static int __init alsa_seq_midi_event_init(void) { return 0; } static void __exit alsa_seq_midi_event_exit(void) { } module_init(alsa_seq_midi_event_init) module_exit(alsa_seq_midi_event_exit) Loading
sound/core/seq/seq.c +0 −7 Original line number Diff line number Diff line Loading @@ -87,10 +87,6 @@ static int __init alsa_seq_init(void) if ((err = client_init_data()) < 0) goto error; /* init memory, room for selected events */ if ((err = snd_sequencer_memory_init()) < 0) goto error; /* init event queues */ if ((err = snd_seq_queues_init()) < 0) goto error; Loading Loading @@ -126,9 +122,6 @@ static void __exit alsa_seq_exit(void) /* unregister sequencer device */ snd_sequencer_device_done(); /* release event memory */ snd_sequencer_memory_done(); snd_seq_autoload_exit(); } Loading
sound/core/seq/seq_memory.c +0 −12 Original line number Diff line number Diff line Loading @@ -504,18 +504,6 @@ int snd_seq_pool_delete(struct snd_seq_pool **ppool) return 0; } /* initialize sequencer memory */ int __init snd_sequencer_memory_init(void) { return 0; } /* release sequencer memory */ void __exit snd_sequencer_memory_done(void) { } /* exported to seq_clientmgr.c */ void snd_seq_info_pool(struct snd_info_buffer *buffer, struct snd_seq_pool *pool, char *space) Loading
sound/core/seq/seq_memory.h +0 −6 Original line number Diff line number Diff line Loading @@ -94,12 +94,6 @@ struct snd_seq_pool *snd_seq_pool_new(int poolsize); /* remove pool */ int snd_seq_pool_delete(struct snd_seq_pool **pool); /* init memory */ int snd_sequencer_memory_init(void); /* release event memory */ void snd_sequencer_memory_done(void); /* polling */ int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, poll_table *wait); Loading
sound/core/seq/seq_midi_emul.c +0 −12 Original line number Diff line number Diff line Loading @@ -728,15 +728,3 @@ void snd_midi_channel_free_set(struct snd_midi_channel_set *chset) kfree(chset); } EXPORT_SYMBOL(snd_midi_channel_free_set); static int __init alsa_seq_midi_emul_init(void) { return 0; } static void __exit alsa_seq_midi_emul_exit(void) { } module_init(alsa_seq_midi_emul_init) module_exit(alsa_seq_midi_emul_exit)
sound/core/seq/seq_midi_event.c +0 −45 Original line number Diff line number Diff line Loading @@ -175,45 +175,12 @@ void snd_midi_event_reset_decode(struct snd_midi_event *dev) } EXPORT_SYMBOL(snd_midi_event_reset_decode); #if 0 void snd_midi_event_init(struct snd_midi_event *dev) { snd_midi_event_reset_encode(dev); snd_midi_event_reset_decode(dev); } #endif /* 0 */ void snd_midi_event_no_status(struct snd_midi_event *dev, int on) { dev->nostat = on ? 1 : 0; } EXPORT_SYMBOL(snd_midi_event_no_status); /* * resize buffer */ #if 0 int snd_midi_event_resize_buffer(struct snd_midi_event *dev, int bufsize) { unsigned char *new_buf, *old_buf; unsigned long flags; if (bufsize == dev->bufsize) return 0; new_buf = kmalloc(bufsize, GFP_KERNEL); if (new_buf == NULL) return -ENOMEM; spin_lock_irqsave(&dev->lock, flags); old_buf = dev->buf; dev->buf = new_buf; dev->bufsize = bufsize; reset_encode(dev); spin_unlock_irqrestore(&dev->lock, flags); kfree(old_buf); return 0; } #endif /* 0 */ /* * read one byte and encode to sequencer event: * return true if MIDI bytes are encoded to an event Loading Loading @@ -503,15 +470,3 @@ static int extra_decode_xrpn(struct snd_midi_event *dev, unsigned char *buf, } return idx; } static int __init alsa_seq_midi_event_init(void) { return 0; } static void __exit alsa_seq_midi_event_exit(void) { } module_init(alsa_seq_midi_event_init) module_exit(alsa_seq_midi_event_exit)