diff options
author | 2024-04-29 16:04:58 +0100 | |
---|---|---|
committer | 2024-05-03 11:14:15 +0100 | |
commit | 1d3eb44a974207e2e8ae8500e0fec5db39aa1597 (patch) | |
tree | 8a60bfcff660f66b28482ece298e741ddaa92db5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: gspca: cpia1: Use min macro (diff) | |
download | wireguard-linux-1d3eb44a974207e2e8ae8500e0fec5db39aa1597.tar.xz wireguard-linux-1d3eb44a974207e2e8ae8500e0fec5db39aa1597.zip |
media: stk1160: Use min macro
Instead of a custom min() implementation, use the real macro.
Mitigates the following cocci WARNINGs:
drivers/media/usb/stk1160/stk1160-video.c:133:12-13: WARNING opportunity for min()
drivers/media/usb/stk1160/stk1160-video.c:176:13-14: WARNING opportunity for min()
Link: https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-19-3c4865f5a4b0@chromium.org
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions