summaryrefslogtreecommitdiff
path: root/hw/xfree86/parser/Input.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/parser/Input.c')
-rw-r--r--hw/xfree86/parser/Input.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/xfree86/parser/Input.c b/hw/xfree86/parser/Input.c
index 8c8e46fb4..50869d488 100644
--- a/hw/xfree86/parser/Input.c
+++ b/hw/xfree86/parser/Input.c
@@ -175,11 +175,11 @@ xf86validateInput (XF86ConfigPtr p)
while (input) {
if (!input->inp_driver) {
xf86validationError (UNDEFINED_INPUTDRIVER_MSG, input->inp_identifier);
- return (FALSE);
+ return FALSE;
}
input = input->list.next;
}
- return (TRUE);
+ return TRUE;
}
XF86ConfInputPtr
@@ -188,11 +188,11 @@ xf86findInput (const char *ident, XF86ConfInputPtr p)
while (p)
{
if (xf86nameCompare (ident, p->inp_identifier) == 0)
- return (p);
+ return p;
p = p->list.next;
}
- return (NULL);
+ return NULL;
}
XF86ConfInputPtr
@@ -201,10 +201,10 @@ xf86findInputByDriver (const char *driver, XF86ConfInputPtr p)
while (p)
{
if (xf86nameCompare (driver, p->inp_driver) == 0)
- return (p);
+ return p;
p = p->list.next;
}
- return (NULL);
+ return NULL;
}