[media] v4l2-subdev.h: fix sparse error with v4l2_subdev_notify
[deliverable/linux.git] / include / media / v4l2-subdev.h
index 28f4d8c3cf7d4f18acacfded4f4fde98419374ea..ee1cb2d354a8a21f8e1bd860b180e8fb1e93ded9 100644 (file)
@@ -691,11 +691,6 @@ void v4l2_subdev_init(struct v4l2_subdev *sd,
        (!(sd) ? -ENODEV : (((sd)->ops->o && (sd)->ops->o->f) ? \
                (sd)->ops->o->f((sd) , ##args) : -ENOIOCTLCMD))
 
-/* Send a notification to v4l2_device. */
-#define v4l2_subdev_notify(sd, notification, arg)                         \
-       ((!(sd) || !(sd)->v4l2_dev || !(sd)->v4l2_dev->notify) ? -ENODEV : \
-        (sd)->v4l2_dev->notify((sd), (notification), (arg)))
-
 #define v4l2_subdev_has_op(sd, o, f) \
        ((sd)->ops->o && (sd)->ops->o->f)
 
This page took 0.025217 seconds and 5 git commands to generate.