Commit 01bf2ffa authored by Abhijit Naik's avatar Abhijit Naik Committed by Greg Kroah-Hartman

staging: bcm2835-audi: Removed return statement from void functions

bcm2835-vchiq.c:
fixing WARNING: void function return statements are not generally useful
Signed-off-by: default avatarAbhijit Naik <abhijitnaik27@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 36ba7ca8
...@@ -204,7 +204,6 @@ int bcm2835_audio_write(struct bcm2835_alsa_stream *alsa_stream, ...@@ -204,7 +204,6 @@ int bcm2835_audio_write(struct bcm2835_alsa_stream *alsa_stream,
static void my_workqueue_init(struct bcm2835_alsa_stream *alsa_stream) static void my_workqueue_init(struct bcm2835_alsa_stream *alsa_stream)
{ {
alsa_stream->my_wq = alloc_workqueue("my_queue", WQ_HIGHPRI, 1); alsa_stream->my_wq = alloc_workqueue("my_queue", WQ_HIGHPRI, 1);
return;
} }
static void my_workqueue_quit(struct bcm2835_alsa_stream *alsa_stream) static void my_workqueue_quit(struct bcm2835_alsa_stream *alsa_stream)
...@@ -214,7 +213,6 @@ static void my_workqueue_quit(struct bcm2835_alsa_stream *alsa_stream) ...@@ -214,7 +213,6 @@ static void my_workqueue_quit(struct bcm2835_alsa_stream *alsa_stream)
destroy_workqueue(alsa_stream->my_wq); destroy_workqueue(alsa_stream->my_wq);
alsa_stream->my_wq = NULL; alsa_stream->my_wq = NULL;
} }
return;
} }
static void audio_vchi_callback(void *param, static void audio_vchi_callback(void *param,
...@@ -887,7 +885,6 @@ void bcm2835_audio_flush_buffers(struct bcm2835_alsa_stream *alsa_stream) ...@@ -887,7 +885,6 @@ void bcm2835_audio_flush_buffers(struct bcm2835_alsa_stream *alsa_stream)
{ {
LOG_DBG(" .. IN\n"); LOG_DBG(" .. IN\n");
LOG_DBG(" .. OUT\n"); LOG_DBG(" .. OUT\n");
return;
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment