path: root/drivers/media/dvb-core/dvb_net.c
diff options
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-10-06 19:53:02 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-10-06 19:53:02 -0300
commit2f684b239cdbfcc1160392645a8fc056a68847ca (patch)
tree0170756bf0fc2f9e59e1b91cb75d77d012f73980 /drivers/media/dvb-core/dvb_net.c
parent4bc645df7d46253836062ecb1e2969034d5ebd11 (diff)
[media] dvb: get rid of enum dmx_success
This enum is not actually used anymore. The only value used from the enum is DMX_OK, passed as a parameter on two callbacks. Yet, this value is not used anywhere. So, just remove it. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb_net.c')
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c
index b81e026edab3..ce4332e80a91 100644
--- a/drivers/media/dvb-core/dvb_net.c
+++ b/drivers/media/dvb-core/dvb_net.c
@@ -761,7 +761,7 @@ static void dvb_net_ule( struct net_device *dev, const u8 *buf, size_t buf_len )
static int dvb_net_ts_callback(const u8 *buffer1, size_t buffer1_len,
const u8 *buffer2, size_t buffer2_len,
- struct dmx_ts_feed *feed, enum dmx_success success)
+ struct dmx_ts_feed *feed)
struct net_device *dev = feed->priv;
@@ -870,8 +870,7 @@ static void dvb_net_sec(struct net_device *dev,
static int dvb_net_sec_callback(const u8 *buffer1, size_t buffer1_len,
const u8 *buffer2, size_t buffer2_len,
- struct dmx_section_filter *filter,
- enum dmx_success success)
+ struct dmx_section_filter *filter)
struct net_device *dev = filter->priv;

Privacy Policy