Commit 2fd4e52
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 <[email protected]>
Signed-off-by: Helge Deller <[email protected]>1 parent 4c29ab8 commit 2fd4e52
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
| 614 | + | |
619 | 615 | | |
620 | 616 | | |
621 | 617 | | |
| |||
0 commit comments