With the removal of the tool areas, this check became obsolete.

Signed-off-by: Peter Hutterer <[email protected]>
---
 src/wcmCommon.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index 7f420ef..89a4d81 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -1040,10 +1040,6 @@ static WacomToolPtr findTool(const WacomCommonPtr common,
                }
        }
 
-       /* pad does not need area check. Skip the unnecessary steps */
-       if (tool && (tool->typeid == PAD_ID))
-               return tool;
-
        /* Use default tool (serial == 0) if no specific was found */
        if (!tool)
                tool = tooldefault;
-- 
1.7.4


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to