remove __init__.py files and create them on the fly
[enigma2.git] / lib / driver / rfmod.cpp
index 279d91cf7cfd517126467e40f4af0725d4293d16..071343ed595eb8a7292c8d56a65b45fa37b5dc80 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <lib/base/init.h>
 #include <lib/base/init_num.h>
-#include <lib/base/econfig.h>
 #include <lib/base/eerror.h>
 
 #define IOCTL_SET_CHANNEL                                              0
@@ -39,8 +38,6 @@ eRFmod *eRFmod::getInstance()
 
 void eRFmod::setFunction(int val)              //0=Enable 1=Disable
 {
-       int myval = !val;
-
        ioctl(fd, IOCTL_SET_STANDBY, &val);
 }