upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:54:34 +0000 (11:54 +0900)
commit408a9dc56e67cf8f074be590fd5b100a3a167906
tree200274cd0cfcb17d469a75757bfded26bb2464db
parent0dcd5ad556954f1b3416fd7d68e2c948d7e43995
upstream: [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