]> git.baikalelectronics.ru Git - kernel.git/commit
media: amphion: no need to check return value of debugfs_create functions
authorLv Ruyi <lv.ruyi@zte.com.cn>
Fri, 22 Apr 2022 02:12:46 +0000 (04:12 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:20 +0000 (11:02 +0200)
commit1696d6ab8e528dbd5ece04609a32451b7803e281
tree4c95088a99241a0e5ef9b28f82be3d442cb3557f
parent736f35bd847b9117263268cbf1f46dad2c5d6b6a
media: amphion: no need to check return value of debugfs_create functions

When calling debugfs functions, there is no need to ever check the
return value. The function can work or not, but the code logic should
never do something different based on this.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/amphion/vpu_dbg.c