From f5722cd14091c0f17cf4a834df145c2eb14a2a79 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 21 Feb 2015 22:25:29 +0100 Subject: [PATCH] spark: remove dead code from cDemux Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/3f6cee32f46b378db3404b5ba30af7a74f861deb Author: Stefan Seyfried Date: 2015-02-21 (Sat, 21 Feb 2015) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libspark/dmx.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libspark/dmx.cpp b/libspark/dmx.cpp index caa4fc9..ec81e9a 100644 --- a/libspark/dmx.cpp +++ b/libspark/dmx.cpp @@ -240,15 +240,6 @@ void cDemux::Close(void) fd = -1; if (measure) return; - if (dmx_type == DMX_TP_CHANNEL) - { - dmx_tp_count--; - if (dmx_tp_count < 0) - { - lt_info("%s dmx_tp_count < 0!!\n", __func__); - dmx_tp_count = 0; - } - } } bool cDemux::Start(bool)