[media] dm1105: remove unneeded not-null test
authorAlexandru Juncu <alexj@rosedu.org>
Wed, 4 Sep 2013 14:41:34 +0000 (11:41 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 31 Oct 2013 06:53:40 +0000 (04:53 -0200)
commit0e48a3e8f616026195416e5d61c6cf24f686c2d8
tree90fc5a39ef02e313bfd944c8790b22c8f37fa72e
parentc656ead48fa5ab4af973f8135400b1695184ef31
[media] dm1105: remove unneeded not-null test

i2c_adap is a field of a struct and will always be allocated so
its address will never be null.
Suggested by coccinelle, manually verified.

Signed-off-by: Alexandru Juncu <alexj@rosedu.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/pci/dm1105/dm1105.c