staging/xgifb: Remove unused values in XGI340_ECLKData
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 5 Feb 2013 21:32:32 +0000 (22:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Feb 2013 21:45:09 +0000 (13:45 -0800)
commit46a12dfdbea523b5cd89a59f2705bad684e5037c
tree85485cbae24c86ba8d480f30b46d6c8a1d3606a2
parent44b8185007d66d61793be08f0c9b2248e6d56ecf
staging/xgifb: Remove unused values in XGI340_ECLKData

In the lookup table XGI340_ECLKData only the first three 'lines' are
used, thus the remaining entries can be removed.

Rationale:
- vb_init.c uses pVBInfo->ram_type as the index for XGI340_ECLKData.

- pVBInfo->ram_type is assigned the return value of
XGINew_GetXG20DRAMType which can only be 0, 1 or 2

-> only the first three values are used.
-> remove the remeining entries.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_table.h