diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2013-02-05 21:32:32 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-05 21:45:09 (GMT) |
commit | 46a12dfdbea523b5cd89a59f2705bad684e5037c (patch) | |
tree | 85485cbae24c86ba8d480f30b46d6c8a1d3606a2 | |
parent | 44b8185007d66d61793be08f0c9b2248e6d56ecf (diff) | |
download | linux-fsl-qoriq-46a12dfdbea523b5cd89a59f2705bad684e5037c.tar.xz |
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>
-rw-r--r-- | drivers/staging/xgifb/vb_table.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/xgifb/vb_table.h b/drivers/staging/xgifb/vb_table.h index 04fd5cf..b4c05c8 100644 --- a/drivers/staging/xgifb/vb_table.h +++ b/drivers/staging/xgifb/vb_table.h @@ -16,11 +16,6 @@ const struct XGI_ECLKDataStruct XGI340_ECLKData[] = { {0x5c, 0x23, 0x01, 166}, {0x55, 0x84, 0x01, 123}, {0x7C, 0x08, 0x01, 200}, - {0x79, 0x06, 0x01, 250}, - {0x29, 0x01, 0x81, 301}, - {0x5c, 0x23, 0x01, 166}, - {0x5c, 0x23, 0x01, 166}, - {0x5c, 0x23, 0x01, 166} }; static const unsigned char XG27_SR13[4][3] = { |