]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p_mfc: remove a dead code
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 28 Apr 2015 15:16:52 +0000 (12:16 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Apr 2015 16:39:19 +0000 (13:39 -0300)
commit7135187317231a79048d443768806b9a32b4c2f3
treead94d4acc64631f20f36cdf5e8e2ee94cf6076ed
parentba312cbffe7a15f4085f6c3389439ec0f4f39280
[media] s5p_mfc: remove a dead code

As reported by smatch:
drivers/media/platform/s5p-mfc/s5p_mfc.c:1340 s5p_mfc_runtime_resume() warn: this array is probably non-NULL. 'm_dev->alloc_ctx'

alloc_ctx can never be NULL, as it is embeeded inside the struct
s5p_mfc_dev.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c