media: v4l: ctrl: Remove old documentation from v4l2_ctrl_grab
authorSakari Ailus <[email protected]>
Thu, 19 Jul 2018 11:10:50 +0000 (07:10 -0400)
committerMauro Carvalho Chehab <[email protected]>
Fri, 5 Oct 2018 13:36:37 +0000 (09:36 -0400)
v4l2_ctrl_grab() is documented in the header; there's no need to have a
comment explaining what the function does in the .c file.

Signed-off-by: Sakari Ailus <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/v4l2-core/v4l2-ctrls.c

index ee006d34c19f08934cd1b0889563eb33fd73dd6b..ab393adf51eb02d1d917ddbd65c5108e6cc58a91 100644 (file)
@@ -2511,12 +2511,6 @@ void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active)
 }
 EXPORT_SYMBOL(v4l2_ctrl_activate);
 
-/* Grab/ungrab a control.
-   Typically used when streaming starts and you want to grab controls,
-   preventing the user from changing them.
-
-   Just call this and the framework will block any attempts to change
-   these controls. */
 void v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed)
 {
        bool old;