Skip to content

Commit 9f53373

Browse files
Yue Haibingtiwai
authored andcommitted
ALSA: asihpi: Remove unused declarations
These are not implemented, so can remove them. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20230818124852.51468-1-yuehaibing@huawei.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 6c0217b commit 9f53373

2 files changed

Lines changed: 0 additions & 21 deletions

File tree

sound/pci/asihpi/hpi.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,19 +1191,6 @@ u16 hpi_adapter_set_mode_ex(u16 adapter_index, u32 adapter_mode,
11911191

11921192
u16 hpi_adapter_get_mode(u16 adapter_index, u32 *padapter_mode);
11931193

1194-
u16 hpi_adapter_get_assert2(u16 adapter_index, u16 *p_assert_count,
1195-
char *psz_assert, u32 *p_param1, u32 *p_param2,
1196-
u32 *p_dsp_string_addr, u16 *p_processor_id);
1197-
1198-
u16 hpi_adapter_test_assert(u16 adapter_index, u16 assert_id);
1199-
1200-
u16 hpi_adapter_enable_capability(u16 adapter_index, u16 capability, u32 key);
1201-
1202-
u16 hpi_adapter_self_test(u16 adapter_index);
1203-
1204-
u16 hpi_adapter_debug_read(u16 adapter_index, u32 dsp_address, char *p_bytes,
1205-
int *count_bytes);
1206-
12071194
u16 hpi_adapter_set_property(u16 adapter_index, u16 property, u16 paramter1,
12081195
u16 paramter2);
12091196

@@ -1488,9 +1475,6 @@ u16 hpi_pad_get_program_type(u32 h_control, u32 *ppTY);
14881475

14891476
u16 hpi_pad_get_rdsPI(u32 h_control, u32 *ppI);
14901477

1491-
u16 hpi_pad_get_program_type_string(u32 h_control, const u32 data_type,
1492-
const u32 pTY, char *psz_string, const u32 string_length);
1493-
14941478
/****************************/
14951479
/* AES/EBU Receiver control */
14961480
/****************************/

sound/pci/asihpi/hpi_internal.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,17 +1394,12 @@ u32 hpi_indexes_to_handle(const char c_object, const u16 adapter_index,
13941394
void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr);
13951395

13961396
/* used in PnP OS/driver */
1397-
u16 hpi_subsys_create_adapter(const struct hpi_resource *p_resource,
1398-
u16 *pw_adapter_index);
1399-
14001397
u16 hpi_outstream_host_buffer_get_info(u32 h_outstream, u8 **pp_buffer,
14011398
struct hpi_hostbuffer_status **pp_status);
14021399

14031400
u16 hpi_instream_host_buffer_get_info(u32 h_instream, u8 **pp_buffer,
14041401
struct hpi_hostbuffer_status **pp_status);
14051402

1406-
u16 hpi_adapter_restart(u16 adapter_index);
1407-
14081403
/*
14091404
The following 3 functions were last declared in header files for
14101405
driver 3.10. HPI_ControlQuery() used to be the recommended way

0 commit comments

Comments
 (0)