]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/exynos: Remove unused variable from exynos_hdmi.c
authorSachin Kamat <sachin.kamat@samsung.com>
Wed, 2 Jul 2014 04:03:07 +0000 (09:33 +0530)
committerInki Dae <daeinki@gmail.com>
Sun, 3 Aug 2014 07:52:13 +0000 (16:52 +0900)
'frame_size_code' is not used in the function. Remove it.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c

index 81df11d5767360ed0fd319d481bb1a85fe7b31f0..738f2d7e16a121c93ab565b5806df5f30c550ed4 100644 (file)
@@ -1241,14 +1241,13 @@ static void hdmi_reg_acr(struct hdmi_context *hdata, u8 *acr)
 
 static void hdmi_audio_init(struct hdmi_context *hdata)
 {
-       u32 sample_rate, bits_per_sample, frame_size_code;
+       u32 sample_rate, bits_per_sample;
        u32 data_num, bit_ch, sample_frq;
        u32 val;
        u8 acr[7];
 
        sample_rate = 44100;
        bits_per_sample = 16;
-       frame_size_code = 0;
 
        switch (bits_per_sample) {
        case 20: