]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[media] cx24117: remove dead code in always 'false' if statement
authorAndi Shyti <andi@etezian.org>
Thu, 30 Jan 2014 03:05:01 +0000 (00:05 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 08:35:26 +0000 (06:35 -0200)
commit62fd0d30e1fbd12d5a07ff722b2726bb8fa630c7
tree907d3962ed4cf3d0d0a9c5e1661a56ce6ee9a421
parent08e10972661db78d0e0a2d4a4c28fc3bf93617ba
[media] cx24117: remove dead code in always 'false' if statement

At this point of the execution in the function cx24117_attach()
demod cannot be '0'. In that case the function returns earlier
with an error value ('NULL'). Remove the if statement.

This error has been reported by scan.coverity.com

Signed-off-by: Andi Shyti <andi@etezian.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/cx24117.c