ALSA: hda: patch_hdmi: remove warnings with empty body
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 13 Jan 2020 21:14:05 +0000 (15:14 -0600)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Jan 2020 06:47:53 +0000 (07:47 +0100)
commit75663c093d0bbbf51e3a3149f91f3148a7be3c5c
treefb07fa789e92d96f6be8e7b7704b82924badb5d9
parent4f5c26534d395bf68de38c3d4b6170ab28d49a05
ALSA: hda: patch_hdmi: remove warnings with empty body

make W=1 reports the following warnings, fix as suggested

sound/pci/hda/patch_hdmi.c: In function ‘hdmi_non_intrinsic_event’:
sound/pci/hda/patch_hdmi.c:824:3: warning: suggest braces around empty
body in an ‘if’ statement [-Wempty-body]
  824 |   ;
      |   ^
sound/pci/hda/patch_hdmi.c:826:3: warning: suggest braces around empty
body in an ‘if’ statement [-Wempty-body]
  826 |   ;
      |   ^

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200113211405.28070-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c