rs6000: Delete unused min/max macros

Message ID dd989ee8c7709e76ae6769f018e477643754e5df.1528460007.git.segher@kernel.crashing.org
State New
Headers show
Series
  • rs6000: Delete unused min/max macros
Related show

Commit Message

Segher Boessenkool June 8, 2018, 12:41 p.m.
The last use was deleted in 2017.  There are the generic MIN/MAX macros
to use already, and in this new world we should use std::min, std::max.

Tested, committing.


Segher


2018-06-08  Segher Boessenkool  <segher@kernel.crashing.org>

	* config/rs6000/rs6000.c (min, max): Delete.

---
 gcc/config/rs6000/rs6000.c | 3 ---
 1 file changed, 3 deletions(-)

-- 
1.8.3.1

Patch

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index ec60c14..7c5bcd1 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -103,9 +103,6 @@ 
 #endif
 #endif
 
-#define min(A,B)	((A) < (B) ? (A) : (B))
-#define max(A,B)	((A) > (B) ? (A) : (B))
-
 static pad_direction rs6000_function_arg_padding (machine_mode, const_tree);
 
 /* Structure used to define the rs6000 stack */