-
由 Mauro Carvalho Chehab 提交于
dev->dvb is always not null, as it is an area at the dev memory. So, checking if (dev->dvb) is always true. Instead of this stupid check, what the code wants to do is to know if the DVB was successully registered. Fix it by checking, instead, for dvb->frontend. It should also be sure that this var will be NULL if the device was not properly initialized. Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
bbc62a18