diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2024-12-03 21:20:09 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 10:05:35 +0100 |
| commit | e8a650dbc7326b50354358707373e70224e17599 (patch) | |
| tree | 460aa18ece5a9d6b6081495dc7efceb6bbf52ddc /scripts/objdiff | |
| parent | 34fb9eb31d66ce10946c0228ccdced9cbd5542a7 (diff) | |
| download | linux-e8a650dbc7326b50354358707373e70224e17599.tar.gz linux-e8a650dbc7326b50354358707373e70224e17599.tar.bz2 linux-e8a650dbc7326b50354358707373e70224e17599.zip | |
media: uvcvideo: Remove redundant NULL assignment
commit 04d3398f66d2d31c4b8caea88f051a4257b7a161 upstream.
ctrl->handle will only be different than NULL for controls that have
mappings. This is because that assignment is only done inside
uvc_ctrl_set() for mapped controls.
Cc: stable@vger.kernel.org
Fixes: e5225c820c05 ("media: uvcvideo: Send a control event when a Control Change interrupt arrives")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Link: https://lore.kernel.org/r/20241203-uvc-fix-async-v6-2-26c867231118@chromium.org
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
