summaryrefslogtreecommitdiff
path: root/driver/xf86-video-wildcatfb
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-07-23 15:20:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-07-23 15:20:34 +0000
commit4183be1b64b7706ee9d4baa593425338e0ccfe11 (patch)
treeee72cf216f62b31374047cc097b493b2d4a3fc21 /driver/xf86-video-wildcatfb
parentb0c8f765bb17830ab7043af994759d19f3bac0e2 (diff)
Remove redundant struct initialization in WildcatFBLoadPalette().
ok matthieu@
Diffstat (limited to 'driver/xf86-video-wildcatfb')
-rw-r--r--driver/xf86-video-wildcatfb/src/wildcatfb_driver.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/driver/xf86-video-wildcatfb/src/wildcatfb_driver.c b/driver/xf86-video-wildcatfb/src/wildcatfb_driver.c
index de74a92d4..facfadd99 100644
--- a/driver/xf86-video-wildcatfb/src/wildcatfb_driver.c
+++ b/driver/xf86-video-wildcatfb/src/wildcatfb_driver.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wildcatfb_driver.c,v 1.5 2010/07/18 20:10:12 matthieu Exp $ */
+/* $OpenBSD: wildcatfb_driver.c,v 1.6 2010/07/23 15:20:33 miod Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -864,11 +864,6 @@ WildcatFBLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
TRACE_ENTER("LoadPalette");
- cmap.count = 1;
- cmap.red = red;
- cmap.green = green;
- cmap.blue = blue;
-
/*
* Change all colors in 2 ioctls
* and limit the data to be transfered.