summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-12-08 13:56:00 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-12-08 13:56:00 +0000
commit6e74e7af21deee1b7b291cb8917b07ad505e6d3c (patch)
tree7a520b248a054c707732dc21376e91926a1c57a3 /linux/drivers/media/dvb/dvb-core
parentd53d1fc828c43cbadb8eb5df628bba99fb1c2fee (diff)
downloadmediapointer-dvb-s2-6e74e7af21deee1b7b291cb8917b07ad505e6d3c.tar.gz
mediapointer-dvb-s2-6e74e7af21deee1b7b291cb8917b07ad505e6d3c.tar.bz2
keep #if 0 for existent code when genreating kernel patches
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_filter.c4
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_net.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_filter.c b/linux/drivers/media/dvb/dvb-core/dvb_filter.c
index 772003fb1..164018c7b 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_filter.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_filter.c
@@ -3,7 +3,7 @@
#include <linux/string.h>
#include "dvb_filter.h"
-#if 0
+#if 0 /* keep */
static unsigned int bitrates[3][16] =
{{0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,0},
{0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,0},
@@ -26,7 +26,7 @@ static u32 ac3_frames[3][32] =
-#if 0
+#if 0 /* keep */
static void setup_ts2pes(ipack *pa, ipack *pv, u16 *pida, u16 *pidv,
void (*pes_write)(u8 *buf, int count, void *data),
void *priv)
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_net.c b/linux/drivers/media/dvb/dvb-core/dvb_net.c
index 86bba81e8..220a5ebd7 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_net.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_net.c
@@ -736,7 +736,7 @@ static void dvb_net_sec(struct net_device *dev, u8 *pkt, int pkt_len)
}
/* it seems some ISPs manage to screw up here, so we have to
* relax the error checks... */
-#if 0
+#if 0 /* keep */
if ((pkt[5] & 0xfd) != 0xc1) {
/* drop scrambled or broken packets */
#else