tuxtxt: remove dead code, unnecessary header includes

Origin commit data
------------------
Branch: ni/coolstream
Commit: cdc9935b83
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2017-02-19 18:14:57 +01:00
committed by Michael Liebmann
parent f647b4a09f
commit 2ded710c6e
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