From eea9d7dc0f2139722b6410acaf8240fe5ac73b11 Mon Sep 17 00:00:00 2001 From: "Sascha Kuehndel (InuSasha)" Date: Mon, 22 Sep 2014 23:11:48 +0200 Subject: [PATCH] remove unused files (forgotten on rewrite of input system?) --- src/tvadapters.c | 40 ---------------------------------------- src/tvadapters.h | 5 ----- 2 files changed, 45 deletions(-) delete mode 100644 src/tvadapters.c delete mode 100644 src/tvadapters.h diff --git a/src/tvadapters.c b/src/tvadapters.c deleted file mode 100644 index e68ab61e..00000000 --- a/src/tvadapters.c +++ /dev/null @@ -1,40 +0,0 @@ -/* - * TV Adapters - * Copyright (C) 2013 Andreas Ă–man - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include "tvheadend.h" -#include "tvadapters.h" -#include "input/mepgts/linuxdvb.h" - -/** - * - */ -idnode_t ** -tv_adapters_root(void) -{ - dvb_hardware_t *dh; - int cnt = 1; - TAILQ_FOREACH(dh, &dvb_adapters, dh_parent_link) - cnt++; - - idnode_t **v = malloc(sizeof(idnode_t *) * cnt); - cnt = 0; - TAILQ_FOREACH(dh, &dvb_adapters, dh_parent_link) - v[cnt++] = &dh->dh_id; - v[cnt] = NULL; - return v; -} diff --git a/src/tvadapters.h b/src/tvadapters.h deleted file mode 100644 index 56b70525..00000000 --- a/src/tvadapters.h +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once - -#include "idnode.h" - -idnode_t **tv_adapters_root(void);