diff options
author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-07-04 06:51:34 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-07-04 22:37:26 +0200 |
commit | 2fd4e52e442c42e01722f5d4cfef693a2da478dd (patch) | |
tree | 611699f84beae74de9bd32d69633a41600126178 /arch/x86/xen/smp_pv.c | |
parent | 4c29ab84cfec17081aae7a7a28f8d2c93c42dcae (diff) |
parisc: Use max() to calculate parisc_tlb_flush_threshold
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()
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/x86/xen/smp_pv.c')
0 files changed, 0 insertions, 0 deletions