projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f902d
)
V4L/DVB (13477): v4l2-subdev: remove unnecessary check
author
Hans Verkuil
<hverkuil@xs4all.nl>
Tue, 9 Jun 2009 20:34:01 +0000
(17:34 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 5 Dec 2009 20:42:05 +0000
(18:42 -0200)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/v4l2-subdev.h
patch
|
blob
|
blame
|
history
diff --git
a/include/media/v4l2-subdev.h
b/include/media/v4l2-subdev.h
index 88c13d6f791271e7da0123edc67813f93153fb17..00bf17608453360c841d83b03be8b27df7f50faf 100644
(file)
--- a/
include/media/v4l2-subdev.h
+++ b/
include/media/v4l2-subdev.h
@@
-385,7
+385,7
@@
static inline void v4l2_subdev_init(struct v4l2_subdev *sd,
Example: err = v4l2_subdev_call(sd, core, g_chip_ident, &chip);
*/
#define v4l2_subdev_call(sd, o, f, args...) \
- (!(sd) ? -ENODEV : (((sd)
&& (sd)
->ops->o && (sd)->ops->o->f) ? \
+ (!(sd) ? -ENODEV : (((sd)->ops->o && (sd)->ops->o->f) ? \
(sd)->ops->o->f((sd) , ##args) : -ENOIOCTLCMD))
/* Send a notification to v4l2_device. */