Re: [PATCH] parisc: Use max() to improve code

From: Helge Deller
Date: Thu Jul 04 2024 - 16:39:34 EST


On 7/4/24 06:51, Thorsten Blum wrote:
Use max() to reduce 4 lines of code to a single line and improve its
readability.

Fixes the following Coccinelle/coccicheck warning reported by
minmax.cocci:

WARNING opportunity for max()

Compile-tested only.

Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxxx>

applied.

Thanks!
Helge