From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25E93C07E9B for ; Sun, 4 Jul 2021 23:23:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 09E48613F3 for ; Sun, 4 Jul 2021 23:23:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234531AbhGDXYu (ORCPT ); Sun, 4 Jul 2021 19:24:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:50862 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234437AbhGDXPI (ORCPT ); Sun, 4 Jul 2021 19:15:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 518D0613D2; Sun, 4 Jul 2021 23:12:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625440352; bh=WeMnDraM7T103alnbGAvN8eaYx0y/ydJ1naFAKo6x0I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kITmCfJ6V65TQgLdiS7ROSRA9ZRwWRsOZK/mCVc9Xb8Z9OZa4oCuG/69ayRtFLxM0 xLA02acBYrGtr/MkyfXuYpoz6uBBVb5/pMbAUJrsNoYHI1cJ1t8CpXOXtAdFIlhjF5 5huzrkPrO6qoGwm5+2yK4DprjqFGSRbpsFKOuYVlFQaLv8Vyy4Fnfb9k5GCNDd6xmH MK+Xxk34Zeu12xLe20V1g9p33XERJgwoiB2CY3EXXWh0e0zci9AUa7BMtd5hqm0Ulb hj3AjurUfdt1zDIxz5gOSdLIo5pxpYKXqNbHMfRvNHSbRa2vG9gkqQvCGw+cRvyV1K QQa9qIfr7Lh+g== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jack Xu , Zhehui Xiang , Giovanni Cabiddu , Herbert Xu , Sasha Levin , qat-linux@intel.com, linux-crypto@vger.kernel.org, clang-built-linux@googlegroups.com Subject: [PATCH AUTOSEL 4.4 07/15] crypto: qat - remove unused macro in FW loader Date: Sun, 4 Jul 2021 19:12:13 -0400 Message-Id: <20210704231222.1492037-7-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210704231222.1492037-1-sashal@kernel.org> References: <20210704231222.1492037-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jack Xu [ Upstream commit 9afe77cf25d9670e61b489fd52cc6f75fd7f6803 ] Remove the unused macro ICP_DH895XCC_PESRAM_BAR_SIZE in the firmware loader. This is to fix the following warning when compiling the driver using the clang compiler with CC=clang W=2: drivers/crypto/qat/qat_common/qat_uclo.c:345:9: warning: macro is not used [-Wunused-macros] Signed-off-by: Jack Xu Co-developed-by: Zhehui Xiang Signed-off-by: Zhehui Xiang Reviewed-by: Giovanni Cabiddu Signed-off-by: Herbert Xu Signed-off-by: Sasha Levin --- drivers/crypto/qat/qat_common/qat_uclo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/qat/qat_common/qat_uclo.c b/drivers/crypto/qat/qat_common/qat_uclo.c index 923bb1988973..28e642959a9a 100644 --- a/drivers/crypto/qat/qat_common/qat_uclo.c +++ b/drivers/crypto/qat/qat_common/qat_uclo.c @@ -360,7 +360,6 @@ static int qat_uclo_init_umem_seg(struct icp_qat_fw_loader_handle *handle, return 0; } -#define ICP_DH895XCC_PESRAM_BAR_SIZE 0x80000 static int qat_uclo_init_ae_memory(struct icp_qat_fw_loader_handle *handle, struct icp_qat_uof_initmem *init_mem) { -- 2.30.2