aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2017-11-12 08:18:59 +0000
committerMauro Carvalho Chehab <[email protected]>2018-09-11 12:42:10 +0000
commit829682b3dba16120c3366d8eaef620a8a41e5fb8 (patch)
treecf61202d9492fa01afa2c0e20746890e3c4ef2e3 /drivers/media/platform/vimc
parentmedia: uvcvideo: Make uvc_control_mapping menu_info field const (diff)
downloadkernel-829682b3dba16120c3366d8eaef620a8a41e5fb8.tar.gz
kernel-829682b3dba16120c3366d8eaef620a8a41e5fb8.zip
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 <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc')
0 files changed, 0 insertions, 0 deletions