]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] mtk-vcodec: remove redundant return value check of platform_get_resource()
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 7 Feb 2017 15:16:20 +0000 (13:16 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 22 Mar 2017 14:23:20 +0000 (11:23 -0300)
commit3876420a88807e7d21057920d571ca9daf5fa615
tree00580f9f9e7152f328eb3115a0a208ce57a1f8c8
parentdb0f4691d9749d5dd758b8636290cec8fd88aa26
[media] mtk-vcodec: remove redundant return value check of platform_get_resource()

Remove unneeded error handling on the result of a call
to platform_get_resource() when the value is passed to
devm_ioremap_resource().

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Tiffany Lin <tiffany.lin@mediatek.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c