Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp2788311rdb; Fri, 18 Aug 2023 10:25:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG7DFvIvutHVyxCtFFydLBQ54eUT+PFPbp7KNTg1sAmxpHKa1wPXimMvf6Kii08EKEvxT4s X-Received: by 2002:a17:906:cd0d:b0:99c:e1f4:2720 with SMTP id oz13-20020a170906cd0d00b0099ce1f42720mr2563352ejb.30.1692379507096; Fri, 18 Aug 2023 10:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692379507; cv=none; d=google.com; s=arc-20160816; b=OJ6o/kKNDcUL0LfTQ/m57YVh/BGTUeqFod7TyGqG4kdkzjMSbGHGeqSuudoPFfDHra XUi6n5d9N/LoMUDo3phYPNai7dUO5nMkuq9SqthPuGysvjEGizwR4uxi0A/V0ZJVVzCn /MTN0bV8OM5xKwJelUSGuaAMoAWw6G/7vlJOmLyahwgLYUv4yxyc7zV0qW8K6RBqOW2q hTMr42agJwlGrz8IFZDcmXwxwSWd2ICdrMThlWrn/KVAy6tTTOlEFd9DCojYlS5AKy7T RtQ8KIR0gCMPlxv5GHXeYXbswDLwe2qypaVF+uxaIP+wpjszXsfsKMKipNLX0bXiHKF6 dOAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=IvySLWEfB9fH7gQikda1fJbYjwKH5JkJPQYs4QJjP80=; fh=itUjQhyJex1qA5FJYzBfqU4OPXXxo+P5ZCUo5Lj0uTM=; b=mOnZ3D8qUHlkItVFv81eyXDTZuTQZZ0RjC/P/7QVcRfIvbNi67hypHce/JCKLmvezC qGuvZnmqCSQgDtpy0wH2YU7BxBOKBHcQJ0qrY8fgHCxmniXY0ZqS/0vahPthy71Ol9am IjvPNbgONds9zHAwQnlONO+HECrMREmJeQYbMbN8E3Sdz7+es1qxJpErGvSn0dWnVkqA n7YUyC0IuDL5oh7a8V3tQRKEjDo/vRVz1Yqfz85BIzfbSs+Ss63WM9a/8sKiDWHHRv80 GAxaYbqee+CfFiQ2Lk6SgPoqCbSzCyVwXDaEd+4XJ7nrmdfUNcAXMHyMabsd2MsnADDu s+rA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c6-20020a170906694600b0099cd61910cfsi1680209ejs.473.2023.08.18.10.24.42; Fri, 18 Aug 2023 10:25:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376950AbjHRMtX (ORCPT + 99 others); Fri, 18 Aug 2023 08:49:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376990AbjHRMtA (ORCPT ); Fri, 18 Aug 2023 08:49:00 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65AFC1988 for ; Fri, 18 Aug 2023 05:48:59 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RS1qV39wGz1GDV1; Fri, 18 Aug 2023 20:47:34 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Fri, 18 Aug 2023 20:48:57 +0800 From: Yue Haibing To: , , CC: , Subject: [PATCH -next] ALSA: asihpi: Remove unused declarations Date: Fri, 18 Aug 2023 20:48:52 +0800 Message-ID: <20230818124852.51468-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These are not implemented, so can remove them. Signed-off-by: Yue Haibing --- sound/pci/asihpi/hpi.h | 16 ---------------- sound/pci/asihpi/hpi_internal.h | 5 ----- 2 files changed, 21 deletions(-) diff --git a/sound/pci/asihpi/hpi.h b/sound/pci/asihpi/hpi.h index 3aebec763fb8..04a5cf6572cd 100644 --- a/sound/pci/asihpi/hpi.h +++ b/sound/pci/asihpi/hpi.h @@ -1191,19 +1191,6 @@ u16 hpi_adapter_set_mode_ex(u16 adapter_index, u32 adapter_mode, u16 hpi_adapter_get_mode(u16 adapter_index, u32 *padapter_mode); -u16 hpi_adapter_get_assert2(u16 adapter_index, u16 *p_assert_count, - char *psz_assert, u32 *p_param1, u32 *p_param2, - u32 *p_dsp_string_addr, u16 *p_processor_id); - -u16 hpi_adapter_test_assert(u16 adapter_index, u16 assert_id); - -u16 hpi_adapter_enable_capability(u16 adapter_index, u16 capability, u32 key); - -u16 hpi_adapter_self_test(u16 adapter_index); - -u16 hpi_adapter_debug_read(u16 adapter_index, u32 dsp_address, char *p_bytes, - int *count_bytes); - u16 hpi_adapter_set_property(u16 adapter_index, u16 property, u16 paramter1, u16 paramter2); @@ -1488,9 +1475,6 @@ u16 hpi_pad_get_program_type(u32 h_control, u32 *ppTY); u16 hpi_pad_get_rdsPI(u32 h_control, u32 *ppI); -u16 hpi_pad_get_program_type_string(u32 h_control, const u32 data_type, - const u32 pTY, char *psz_string, const u32 string_length); - /****************************/ /* AES/EBU Receiver control */ /****************************/ diff --git a/sound/pci/asihpi/hpi_internal.h b/sound/pci/asihpi/hpi_internal.h index 6859d51389f5..e569e3b33b8e 100644 --- a/sound/pci/asihpi/hpi_internal.h +++ b/sound/pci/asihpi/hpi_internal.h @@ -1394,17 +1394,12 @@ u32 hpi_indexes_to_handle(const char c_object, const u16 adapter_index, void hpi_send_recv(struct hpi_message *phm, struct hpi_response *phr); /* used in PnP OS/driver */ -u16 hpi_subsys_create_adapter(const struct hpi_resource *p_resource, - u16 *pw_adapter_index); - u16 hpi_outstream_host_buffer_get_info(u32 h_outstream, u8 **pp_buffer, struct hpi_hostbuffer_status **pp_status); u16 hpi_instream_host_buffer_get_info(u32 h_instream, u8 **pp_buffer, struct hpi_hostbuffer_status **pp_status); -u16 hpi_adapter_restart(u16 adapter_index); - /* The following 3 functions were last declared in header files for driver 3.10. HPI_ControlQuery() used to be the recommended way -- 2.34.1