diff options
Diffstat (limited to 'src/input/input_v4l.c')
-rw-r--r-- | src/input/input_v4l.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c index add768ce5..663543cf4 100644 --- a/src/input/input_v4l.c +++ b/src/input/input_v4l.c @@ -776,19 +776,6 @@ static int open_radio_capture_device(v4l_input_plugin_t *this) return 2; } -static int close_radio_capture_device(v4l_input_plugin_t *this) -{ - if (this->radio_fd > 0) - close(this->radio_fd); - else - /* Radio device probably never opened. So nothing left to cleanup. */ - return 0; - - this->radio_fd = 0; - - return 1; -} - /** * Open the video capture device. * |