From patchwork Sat Apr 16 10:45:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weili Qian X-Patchwork-Id: 12815792 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B97FC433EF for ; Sat, 16 Apr 2022 10:51:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231520AbiDPKyS (ORCPT ); Sat, 16 Apr 2022 06:54:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231504AbiDPKyR (ORCPT ); Sat, 16 Apr 2022 06:54:17 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2C093A5CF; Sat, 16 Apr 2022 03:51:45 -0700 (PDT) Received: from kwepemi100008.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4KgVJV3RRMzCr5w; Sat, 16 Apr 2022 18:47:22 +0800 (CST) Received: from kwepemm600009.china.huawei.com (7.193.23.164) by kwepemi100008.china.huawei.com (7.221.188.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sat, 16 Apr 2022 18:51:43 +0800 Received: from localhost.localdomain (10.67.165.24) by kwepemm600009.china.huawei.com (7.193.23.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sat, 16 Apr 2022 18:51:43 +0800 From: Weili Qian To: , CC: , , , , Weili Qian Subject: [PATCH 0/4] crypto: hisilicon/qm - misc fixes Date: Sat, 16 Apr 2022 18:45:55 +0800 Message-ID: <20220416104559.10826-1-qianweili@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm600009.china.huawei.com (7.193.23.164) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patchset removes some unused functions and sets the unused outside qm.c functons to static. Weili Qian (4): crypto: hisilicon/qm - remove unused function declaration crypto: hisilicon/qm - set function with static crypto: hisilicon/qm - replace hisi_qm_release_qp() with hisi_qm_free_qps() crypto: hisilicon/qm - remove hisi_qm_get_free_qp_num() drivers/crypto/hisilicon/qm.c | 37 ++++++++--------------- drivers/crypto/hisilicon/zip/zip_crypto.c | 2 +- include/linux/hisi_acc_qm.h | 5 --- 3 files changed, 13 insertions(+), 31 deletions(-)