summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-08 15:11:07 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-08 15:11:07 +0100
commit327db5aee3e6041d0fb01efe028fb167c000b24c (patch)
tree5780726ede4ef6dbf4c9651a7d7a1a1b2f0f171d /device.c
parent0d6715d862424215dbdc44f8e0742592b53143bd (diff)
downloadvdr-327db5aee3e6041d0fb01efe028fb167c000b24c.tar.gz
vdr-327db5aee3e6041d0fb01efe028fb167c000b24c.tar.bz2
Removed the now obsolete CaCaps stuff
Diffstat (limited to 'device.c')
-rw-r--r--device.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/device.c b/device.c
index 46d9ab8b..871149e9 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 1.52 2004/01/11 13:21:12 kls Exp $
+ * $Id: device.c 1.53 2004/02/08 15:05:11 kls Exp $
*/
#include "device.h"
@@ -56,10 +56,8 @@ cDevice::cDevice(void)
for (int i = 0; i < MAXRECEIVERS; i++)
receiver[i] = NULL;
- if (numDevices < MAXDEVICES) {
+ if (numDevices < MAXDEVICES)
device[numDevices++] = this;
- SetCaCaps(cardIndex);
- }
else
esyslog("ERROR: too many devices!");
}
@@ -200,16 +198,6 @@ cDevice *cDevice::GetDevice(const cChannel *Channel, int Priority, bool *NeedsDe
return d;
}
-void cDevice::SetCaCaps(int Index)
-{
- for (int d = 0; d < numDevices; d++) {
- if (Index < 0 || Index == device[d]->CardIndex()) {
- for (int i = 0; i < MAXCACAPS; i++)
- device[d]->caCaps[i] = Setup.CaCaps[device[d]->CardIndex()][i];
- }
- }
-}
-
void cDevice::Shutdown(void)
{
for (int i = 0; i < numDevices; i++) {