drm/exynos/hdmi: remove unused variable
authorAndrzej Hajda <a.hajda@samsung.com>
Thu, 11 Feb 2016 11:55:45 +0000 (12:55 +0100)
committerInki Dae <daeinki@gmail.com>
Tue, 1 Mar 2016 14:37:20 +0000 (23:37 +0900)
The variable is unused for long time.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c

index 21a29dbce18c007f3a858394ec156b106247fd25..e148d728e28c3231c9e9b07abda958fe19df649a 100644 (file)
@@ -867,10 +867,8 @@ static void hdmi_reg_infoframe(struct hdmi_context *hdata,
 {
        u32 hdr_sum;
        u8 chksum;
-       u32 mod;
        u8 ar;
 
-       mod = hdmi_reg_read(hdata, HDMI_MODE_SEL);
        if (hdata->dvi_mode) {
                hdmi_reg_writeb(hdata, HDMI_VSI_CON,
                                HDMI_VSI_CON_DO_NOT_TRANSMIT);