aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/platform/vimc/vimc-sensor.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-11-12 03:18:59 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-11 08:42:10 -0400
commit829682b3dba16120c3366d8eaef620a8a41e5fb8 (patch)
treecf61202d9492fa01afa2c0e20746890e3c4ef2e3 /drivers/media/platform/vimc/vimc-sensor.c
parent52a4eb317c04b33564f26188acb53e6c967a1718 (diff)
media: uvcvideo: Remove unnecessary NULL check before debugfs_remove_recursive
debugfs_remove_recursive() accepts a NULL parameter and returns immediately, there's no need for a NULL check in the caller. This issue was detected with the help of Coccinelle. [Reword commit message, address uvc_debugfs_cleanup_stream()] Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions