On 07/11/2022 20:11, Deepak R Varma wrote:
Use of standard min() helper macro is preferred over using ternary operator for logical evaluation and value assignment. This issue is identified by coccicheck using the minmax.cocci file. Signed-off-by: Deepak R Varma <drv@xxxxxxxxx> --- drivers/staging/media/meson/vdec/codec_vp9.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
<snip> Reviewed-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>