projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db40716
)
[PATCH] drivers/video/matrox/matroxfb_misc.c: remove dead code
author
Adrian Bunk
<bunk@stusta.de>
Sat, 25 Jun 2005 21:59:08 +0000
(14:59 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:25:04 +0000
(16:25 -0700)
This patch removes some obviously dead code found by the Coverity
checker.
This patch was already ACK'ed by Petr Vandrovec.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/matrox/matroxfb_misc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/matrox/matroxfb_misc.c
b/drivers/video/matrox/matroxfb_misc.c
index 76fd3a519b8af1d1d637a308c6d1e969bf99b37c..a18dd024fc86a9384b67c49391c1685ca75e95f3 100644
(file)
--- a/
drivers/video/matrox/matroxfb_misc.c
+++ b/
drivers/video/matrox/matroxfb_misc.c
@@
-197,10
+197,7
@@
int matroxfb_vgaHWinit(WPMINFO struct my_timming* m) {
DBG(__FUNCTION__)
hw->SEQ[0] = 0x00;
- if (fwidth == 9)
- hw->SEQ[1] = 0x00;
- else
- hw->SEQ[1] = 0x01; /* or 0x09 */
+ hw->SEQ[1] = 0x01; /* or 0x09 */
hw->SEQ[2] = 0x0F; /* bitplanes */
hw->SEQ[3] = 0x00;
hw->SEQ[4] = 0x0E;