summaryrefslogtreecommitdiffstats
path: root/sound/x86/intel_hdmi_audio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-01-30 17:38:00 +0100
committerTakashi Iwai <tiwai@suse.de>2017-02-03 17:23:15 +0100
commit437af8f2946231ee141bc2a8d37063a8bb6047b0 (patch)
tree46126d38d9c82ed105c6d062541e843257089a53 /sound/x86/intel_hdmi_audio.h
parentdd895f2e9b013a5387372dbf3a7d8405aaeb494e (diff)
downloadlinux-stable-437af8f2946231ee141bc2a8d37063a8bb6047b0.tar.gz
linux-stable-437af8f2946231ee141bc2a8d37063a8bb6047b0.tar.bz2
linux-stable-437af8f2946231ee141bc2a8d37063a8bb6047b0.zip
ALSA: x86: Call event callback directly
Currently the driver calls the event callback stored in its ctx pointer, but it's obviously inefficient. Replace it with the direct calls. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86/intel_hdmi_audio.h')
-rw-r--r--sound/x86/intel_hdmi_audio.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/x86/intel_hdmi_audio.h b/sound/x86/intel_hdmi_audio.h
index 5a82a3f429d7..110d1d083000 100644
--- a/sound/x86/intel_hdmi_audio.h
+++ b/sound/x86/intel_hdmi_audio.h
@@ -99,10 +99,6 @@ struct had_pvt_data {
enum had_status_stream stream_type;
};
-struct had_callback_ops {
- had_event_call_back intel_had_event_call_back;
-};
-
/**
* struct snd_intelhad - intelhad driver structure
*