mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
media: rzg2l-cru: Remove wrong locking comment
A function documented as "need to hold qlock before calling" actually takes the lock itself. Drop the comment and prepare to replace it with proper annotations where appropriate. Signed-off-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com> Reviewed-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
84a4664d8c
commit
a8de479fab
|
|
@ -105,7 +105,6 @@ __rzg2l_cru_read_constant(struct rzg2l_cru_dev *cru, u32 offset)
|
|||
__rzg2l_cru_read_constant(cru, offset) : \
|
||||
__rzg2l_cru_read(cru, offset))
|
||||
|
||||
/* Need to hold qlock before calling */
|
||||
static void return_unused_buffers(struct rzg2l_cru_dev *cru,
|
||||
enum vb2_buffer_state state)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user