Change the signature of dvb_dmx_release() as it can not fail. Btw nobody checked the returned value. Signed-off-by: Francois Romieu <romieu@xxxxxxxxxxxxx> diff -puN drivers/media/dvb/dvb-core/dvb_demux.c~dvb-160 drivers/media/dvb/dvb-core/dvb_demux.c --- a/drivers/media/dvb/dvb-core/dvb_demux.c~dvb-160 2005-05-20 19:23:56.444399147 +0200 +++ b/drivers/media/dvb/dvb-core/dvb_demux.c 2005-05-20 19:23:56.463395993 +0200 @@ -1280,13 +1280,12 @@ int dvb_dmx_init(struct dvb_demux *dvbde EXPORT_SYMBOL(dvb_dmx_init); -int dvb_dmx_release(struct dvb_demux *dvbdemux) +void dvb_dmx_release(struct dvb_demux *dvbdemux) { struct dmx_demux *dmx = &dvbdemux->dmx; dmx_unregister_demux(dmx); vfree(dvbdemux->filter); vfree(dvbdemux->feed); - return 0; } EXPORT_SYMBOL(dvb_dmx_release); diff -puN drivers/media/dvb/dvb-core/dvb_demux.h~dvb-160 drivers/media/dvb/dvb-core/dvb_demux.h --- a/drivers/media/dvb/dvb-core/dvb_demux.h~dvb-160 2005-05-20 19:25:10.156188501 +0200 +++ b/drivers/media/dvb/dvb-core/dvb_demux.h 2005-05-20 19:25:21.891249156 +0200 @@ -138,7 +138,7 @@ struct dvb_demux { int dvb_dmx_init(struct dvb_demux *dvbdemux); -int dvb_dmx_release(struct dvb_demux *dvbdemux); +void dvb_dmx_release(struct dvb_demux *dvbdemux); void dvb_dmx_swfilter_packets(struct dvb_demux *dvbdmx, const u8 *buf, size_t count); void dvb_dmx_swfilter(struct dvb_demux *demux, const u8 *buf, size_t count); void dvb_dmx_swfilter_204(struct dvb_demux *demux, const u8 *buf, size_t count); _