Add a proper ifdef to shut out a compile warning:
   CC [M]  sound/pci/hda/patch_intelhdmi.o
sound/pci/hda/patch_intelhdmi.c:286: warning: ‘hdmi_get_dip_index’ defined but \
not used
Signed-off-by: Takashi Iwai <tiwai@suse.de>
                                                 AC_DIPSIZE_ELD_BUF);
 }
 
+#ifdef BE_PARANOID
 static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t nid,
                                int *packet_index, int *byte_index)
 {
        *packet_index = val >> 5;
        *byte_index = val & 0x1f;
 }
+#endif
 
 static void hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t nid,
                                int packet_index, int byte_index)