[PATCH synaptics 1/9] Remove an unused define for 1/sqrt(2)

Peter Hutterer peter.hutterer at who-t.net
Wed May 30 22:19:59 PDT 2012


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/synaptics.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/synaptics.c b/src/synaptics.c
index e16718a..3a88b54 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -114,10 +114,6 @@ typedef enum {
 #define M_PI 3.14159265358979323846
 #endif
 
-#ifndef M_SQRT1_2
-#define M_SQRT1_2  0.70710678118654752440       /* 1/sqrt(2) */
-#endif
-
 #define INPUT_BUFFER_SIZE 200
 
 /*****************************************************************************
-- 
1.7.10.1



More information about the xorg-devel mailing list