ALSA: asihpi: Remove 2 unused functions
authorEliot Blennerhassett <eblennerhassett@audioscience.com>
Tue, 5 Apr 2011 08:55:45 +0000 (20:55 +1200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Apr 2011 09:47:40 +0000 (11:47 +0200)
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpifunc.c

index c38fc9487560cea2a235e0ba829c43b197e7f9e9..7397b169b89f2b626f8dca427006dc96d260a2ce 100644 (file)
@@ -105,33 +105,6 @@ u16 hpi_subsys_get_version_ex(u32 *pversion_ex)
        return hr.error;
 }
 
-u16 hpi_subsys_create_adapter(const struct hpi_resource *p_resource,
-       u16 *pw_adapter_index)
-{
-       struct hpi_message hm;
-       struct hpi_response hr;
-
-       hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
-               HPI_SUBSYS_CREATE_ADAPTER);
-       hm.u.s.resource = *p_resource;
-
-       hpi_send_recv(&hm, &hr);
-
-       *pw_adapter_index = hr.u.s.adapter_index;
-       return hr.error;
-}
-
-u16 hpi_subsys_delete_adapter(u16 adapter_index)
-{
-       struct hpi_message hm;
-       struct hpi_response hr;
-       hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
-               HPI_SUBSYS_DELETE_ADAPTER);
-       hm.obj_index = adapter_index;
-       hpi_send_recv(&hm, &hr);
-       return hr.error;
-}
-
 u16 hpi_subsys_get_num_adapters(int *pn_num_adapters)
 {
        struct hpi_message hm;