diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-01-31 08:26:04 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-02-25 06:44:22 +1000 |
commit | ea5f2786a0942832f32deb7c507531b766028356 (patch) | |
tree | 9c55e5c063e46a30ef43c71402487b850859e74d /drivers/gpu/drm/nouveau/nouveau_dp.c | |
parent | cb1d771aa03dd9f3980f08f1512d9434dd5bebfb (diff) | |
download | kernel_samsung_aries-ea5f2786a0942832f32deb7c507531b766028356.zip kernel_samsung_aries-ea5f2786a0942832f32deb7c507531b766028356.tar.gz kernel_samsung_aries-ea5f2786a0942832f32deb7c507531b766028356.tar.bz2 |
drm/nouveau: silence some compiler warnings
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_dp.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_dp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c index 38d5995..7beb82a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_dp.c +++ b/drivers/gpu/drm/nouveau/nouveau_dp.c @@ -175,7 +175,6 @@ nouveau_dp_link_train_adjust(struct drm_encoder *encoder, uint8_t *config) { struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); struct drm_device *dev = encoder->dev; - struct bit_displayport_encoder_table_entry *dpse; struct bit_displayport_encoder_table *dpe; int ret, i, dpe_headerlen, vs = 0, pre = 0; uint8_t request[2]; @@ -183,7 +182,6 @@ nouveau_dp_link_train_adjust(struct drm_encoder *encoder, uint8_t *config) dpe = nouveau_bios_dp_table(dev, nv_encoder->dcb, &dpe_headerlen); if (!dpe) return false; - dpse = (void *)((char *)dpe + dpe_headerlen); ret = auxch_rd(encoder, DP_ADJUST_REQUEST_LANE0_1, request, 2); if (ret) |