tuxtxt: remove dead code, unnecessary header includes

This commit is contained in:
Stefan Seyfried
2017-02-19 18:14:57 +01:00
parent 98b7904a47
commit 50cf26441f
3 changed files with 1 additions and 18 deletions

View File

@@ -10,9 +10,7 @@
******************************************************************************/
#define TUXTXT_DEBUG 0
#include <sys/ioctl.h>
#include <fcntl.h>
#include <pthread.h>
#include "tuxtxt_def.h"
#include "tuxtxt_common.h"

View File

@@ -21,7 +21,6 @@
#include <config.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -32,9 +31,6 @@
#include <linux/fb.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include "tuxtxt_def.h"
#include <ft2build.h>

View File

@@ -1,8 +1,6 @@
/* tuxtxt_common.h
* for license info see the other tuxtxt files
*/
#include <sys/ioctl.h>
#include <fcntl.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
@@ -1132,15 +1130,6 @@ int tuxtxt_stop_thread()
delete dmx;
dmx = NULL;
}
#if 0
if (tuxtxt_cache.dmx != -1)
{
//ioctl(tuxtxt_cache.dmx, DMX_STOP);
// close(tuxtxt_cache.dmx);
}
// tuxtxt_cache.dmx = -1;
#endif
#if 1//TUXTXT_DEBUG
printf("TuxTxt stopped service %x\n", tuxtxt_cache.vtxtpid);
#endif