From: Oliver Endriss Date: Tue, 22 Dec 2009 06:34:29 +0000 (-0300) Subject: V4L/DVB: ngene: Remove kernel version check for dvb_[un]register_adapter X-Git-Tag: firefly_0821_release~9833^2~3102^2~127 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=948a119547cf5043b40c2151d6f6913fbcf65e38;p=firefly-linux-kernel-4.4.55.git V4L/DVB: ngene: Remove kernel version check for dvb_[un]register_adapter Remove kernel version check for dvb_[un]register_adapter. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c index 12810834d05a..72c06c66a952 100644 --- a/drivers/media/dvb/ngene/ngene-core.c +++ b/drivers/media/dvb/ngene/ngene-core.c @@ -2466,7 +2466,7 @@ static void release_channel(struct ngene_channel *chan) static int init_channel(struct ngene_channel *chan) { int ret = 0, nr = chan->number; - struct dvb_adapter *adapter = 0; + struct dvb_adapter *adapter = NULL; struct dvb_demux *dvbdemux = &chan->demux; struct ngene *dev = chan->dev; struct ngene_info *ni = dev->card_info;