summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 15:36:02 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-01 14:13:26 +0200
commit5d0d7b9009feb3b411814b9c1b7dddabbb10a5fb (patch)
tree0a4d18cc128b71c930b85ab2d47fbb66bfaf11fc /include/media
parent31163906f19b0c6e23c89e6852bfdaa242e8467c (diff)
downloadlinux-5d0d7b9009feb3b411814b9c1b7dddabbb10a5fb.tar.bz2
media: cec: 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. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/cec.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/media/cec.h b/include/media/cec.h
index c48b5f2e4b50..cd35ae6b7560 100644
--- a/include/media/cec.h
+++ b/include/media/cec.h
@@ -248,8 +248,6 @@ struct cec_adapter {
#endif
struct dentry *cec_dir;
- struct dentry *status_file;
- struct dentry *error_inj_file;
u32 sequence;