diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-06-09 20:34:01 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 20:42:05 (GMT) |
commit | dbc8e34a3265e7ec6b2a07c4337c60a947768891 (patch) | |
tree | d6ef930406ff9d48629577efd212103fc250f64e /include/media/v4l2-subdev.h | |
parent | 57f902d0f38ebc38ea0a00899743eb917c61a7db (diff) | |
download | linux-fsl-qoriq-dbc8e34a3265e7ec6b2a07c4337c60a947768891.tar.xz |
V4L/DVB (13477): v4l2-subdev: remove unnecessary check
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-subdev.h')
-rw-r--r-- | include/media/v4l2-subdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index 88c13d6..00bf176 100644 --- 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. */ |