summaryrefslogtreecommitdiff
path: root/hw/xfree86/parser/Video.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/parser/Video.c')
-rw-r--r--hw/xfree86/parser/Video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/parser/Video.c b/hw/xfree86/parser/Video.c
index beeb43e4f..377438749 100644
--- a/hw/xfree86/parser/Video.c
+++ b/hw/xfree86/parser/Video.c
@@ -288,9 +288,9 @@ xf86findVideoAdaptor (const char *ident, XF86ConfVideoAdaptorPtr p)
while (p)
{
if (xf86nameCompare (ident, p->va_identifier) == 0)
- return (p);
+ return p;
p = p->list.next;
}
- return (NULL);
+ return NULL;
}