[PATCH 13/35] media: common: saa7146: Use min macro
Bryan O'Donoghue
bryan.odonoghue at linaro.org
Tue Apr 23 05:49:11 PDT 2024
On 15/04/2024 20:34, Ricardo Ribalda wrote:
> Simplifies the code. Found by cocci:
>
> drivers/media/common/saa7146/saa7146_hlp.c:125:36-37: WARNING opportunity for min()
> drivers/media/common/saa7146/saa7146_hlp.c:154:41-42: WARNING opportunity for min()
> drivers/media/common/saa7146/saa7146_hlp.c:286:35-36: WARNING opportunity for min()
> drivers/media/common/saa7146/saa7146_hlp.c:289:35-36: WARNING opportunity for min()
>
> Signed-off-by: Ricardo Ribalda <ribalda at chromium.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue at linaro.org>
More information about the Linux-mediatek
mailing list