diff options
author | Eliot Blennerhassett <eblennerhassett@audioscience.com> | 2011-04-05 04:55:45 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-04-05 05:47:40 -0400 |
commit | 6027dfa46ea477b1223d83e74a3b3dcc572285b5 (patch) | |
tree | 4bc740736deb7db4b57c004d79a2350a2a5c54ba /sound/pci/asihpi/hpifunc.c | |
parent | f3d145aac913b318e96e5c2763d8908805a5e30a (diff) |
ALSA: asihpi: Remove 2 unused functions
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/asihpi/hpifunc.c')
-rw-r--r-- | sound/pci/asihpi/hpifunc.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sound/pci/asihpi/hpifunc.c b/sound/pci/asihpi/hpifunc.c index c38fc948756..7397b169b89 100644 --- a/sound/pci/asihpi/hpifunc.c +++ b/sound/pci/asihpi/hpifunc.c | |||
@@ -105,33 +105,6 @@ u16 hpi_subsys_get_version_ex(u32 *pversion_ex) | |||
105 | return hr.error; | 105 | return hr.error; |
106 | } | 106 | } |
107 | 107 | ||
108 | u16 hpi_subsys_create_adapter(const struct hpi_resource *p_resource, | ||
109 | u16 *pw_adapter_index) | ||
110 | { | ||
111 | struct hpi_message hm; | ||
112 | struct hpi_response hr; | ||
113 | |||
114 | hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, | ||
115 | HPI_SUBSYS_CREATE_ADAPTER); | ||
116 | hm.u.s.resource = *p_resource; | ||
117 | |||
118 | hpi_send_recv(&hm, &hr); | ||
119 | |||
120 | *pw_adapter_index = hr.u.s.adapter_index; | ||
121 | return hr.error; | ||
122 | } | ||
123 | |||
124 | u16 hpi_subsys_delete_adapter(u16 adapter_index) | ||
125 | { | ||
126 | struct hpi_message hm; | ||
127 | struct hpi_response hr; | ||
128 | hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, | ||
129 | HPI_SUBSYS_DELETE_ADAPTER); | ||
130 | hm.obj_index = adapter_index; | ||
131 | hpi_send_recv(&hm, &hr); | ||
132 | return hr.error; | ||
133 | } | ||
134 | |||
135 | u16 hpi_subsys_get_num_adapters(int *pn_num_adapters) | 108 | u16 hpi_subsys_get_num_adapters(int *pn_num_adapters) |
136 | { | 109 | { |
137 | struct hpi_message hm; | 110 | struct hpi_message hm; |