[PATCH] dvb: core: dvb_demux: remove unsused descramble callbacks
Andreas Oberritter [Fri, 9 Sep 2005 20:02:24 +0000 (13:02 -0700)]
Removed unused descramble_mac_address and descramble_section_payload callbacks.

Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

drivers/media/dvb/dvb-core/demux.h
drivers/media/dvb/dvb-core/dvb_demux.c

index 608461f..ee5be59 100644 (file)
@@ -260,17 +260,6 @@ struct dmx_demux {
                                      dmx_section_cb callback);
         int (*release_section_feed) (struct dmx_demux* demux,
                                     struct dmx_section_feed* feed);
-        int (*descramble_mac_address) (struct dmx_demux* demux,
-                                      u8* buffer1,
-                                      size_t buffer1_length,
-                                      u8* buffer2,
-                                      size_t buffer2_length,
-                                      u16 pid);
-        int (*descramble_section_payload) (struct dmx_demux* demux,
-                                          u8* buffer1,
-                                          size_t buffer1_length,
-                                          u8* buffer2, size_t buffer2_length,
-                                          u16 pid);
         int (*add_frontend) (struct dmx_demux* demux,
                             struct dmx_frontend* frontend);
         int (*remove_frontend) (struct dmx_demux* demux,
index 8774a94..6488206 100644 (file)
@@ -1232,9 +1232,6 @@ int dvb_dmx_init(struct dvb_demux *dvbdemux)
        dmx->allocate_section_feed = dvbdmx_allocate_section_feed;
        dmx->release_section_feed = dvbdmx_release_section_feed;
 
-       dmx->descramble_mac_address = NULL;
-       dmx->descramble_section_payload = NULL;
-
        dmx->add_frontend = dvbdmx_add_frontend;
        dmx->remove_frontend = dvbdmx_remove_frontend;
        dmx->get_frontends = dvbdmx_get_frontends;