mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 16:41:39 +00:00
via: Remove bogus if check
Reported-by: <dcb314@hotmail.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=44331 Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
0f307323a4
commit
39012f6805
@ -2628,7 +2628,8 @@ SiS_SetVCLKState(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
|
|||||||
else if(VCLK >= 135) data = 0x02;
|
else if(VCLK >= 135) data = 0x02;
|
||||||
|
|
||||||
if(SiS_Pr->ChipType == SIS_540) {
|
if(SiS_Pr->ChipType == SIS_540) {
|
||||||
if((VCLK == 203) || (VCLK < 234)) data = 0x02;
|
/* Was == 203 or < 234 which made no sense */
|
||||||
|
if (VCLK < 234) data = 0x02;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(SiS_Pr->ChipType < SIS_315H) {
|
if(SiS_Pr->ChipType < SIS_315H) {
|
||||||
|
Loading…
Reference in New Issue
Block a user