From patchwork Mon Jan 18 08:48:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12026773 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=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 7067AC433E0 for ; Mon, 18 Jan 2021 08:50:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1258222211 for ; Mon, 18 Jan 2021 08:50:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1258222211 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=eK72UPslPS2SBGyMWpI2w5cgpQQopCOZWSdN9iBfOc0=; b=deobqjWiU5hVFMY6i1kr24Dedn OuiCjyU7gDrA/z6U5bmN2Pgvr4fazBIXghsGWRf+WSsHLaDlRaa5yfQm0bGkVCcE8R7DBZoXmZ3g3 yQEmtWtiP7Qgcj0cKc80qu+CPfyO0KaseCTRTAejdJLMlx0XZMgCVP6O00IfBS9Qok/AaXudb1MR/ UGOxQpCvZHbZji6+2SkTIj7UY0Mm82qryHUk3RMXikeLEPL/dwIJLGGTgUuuU7tq1QwPRAE6opd3O cHuDzXJazUCv2BXFE9OxT5C40t3o5Qjnw8Vhdvwi7Pk8OuFLNDY8wrK81ml/JliaCmeFtriDF4R5I umnlcQ3A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l1QDh-0002ig-3f; Mon, 18 Jan 2021 08:49:05 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l1QDe-0002iK-2k for linux-arm-kernel@lists.infradead.org; Mon, 18 Jan 2021 08:49:02 +0000 Received: by mail-ed1-x52e.google.com with SMTP id f1so2501073edr.12 for ; Mon, 18 Jan 2021 00:48:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KLgy4uJbi+BQB5I4n190H52GDURQtZ4WJsf6fAFPqdk=; b=j/gB5XW41QN04mhHc1JIZCBnvWyQYHBi8pv1txPW0yWZlsUTW2i5aFhcFqTC42OBNg eh9q4FD+5yx+dHELPUB2H+v8U7LV8Ji5LnnXqCCZaPvVFDQUYsYzINghE3MQLelBgNJX Bq2CChUODvtlqG5Up0B9eBky3M/DBKTPF1IWf/OkfJu2FQB9alz3HpA5YlPpuVXBqNTu JeGbDDaup0RkqS6ndG9qqSHePJiT8XcJEZK4Pi6WX0FzjBYdbo8exd0twAzIFhhxGNO3 zOJ4DhkL55BcWM1cPqnoPvpKNaX9zqSs8u1FPJSPNvqUGlNKYPqGRX4gbvQ0yYp+SV10 SLng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=KLgy4uJbi+BQB5I4n190H52GDURQtZ4WJsf6fAFPqdk=; b=sVaAVbqDZ0XMWKbSvGi2gqQfz7d/YtQn4xOrB8aPCLO8GMQh1AAsEzN3c3nveEXjgs oBP24DHc/jbCcppgBdQ1F+0zHQiNa76lu/heBGekeKEpdtvRqO9Ypoy1HLIkt6+jjw8q gCU3Be3kD3UU8MPWHJlsdHj78GB2IC2CbJl4LrTk7Vt2QdKTel8grD3+TxZCi6m7AtFc gsvUTWTLMEAmt0+JHN9PMUsenMXZkHUzoiOiHaZxYrxWpCeojZ2vp2i/1gcKCNtnApX3 nfXgCXNpujIVsoXige2WVS7GAW2EoRdGLZrOJaN69iFSfh+rkwz+lfLv0+jr9KQ/hQnL 2A2A== X-Gm-Message-State: AOAM531Fz0iymRpk/46fQyb2mr5CxLwEqBSbs9GwOFlH/06fDHUogPfe DclQ18v4ubdpQCC8MNW2d1fuzA== X-Google-Smtp-Source: ABdhPJwih4nvB/5Q3a9bW/KRLWfSHgumWIqNV/eHRUz84LwmuOib5Vrw8bdAr1dtPcehN+4RTQ56Vg== X-Received: by 2002:a05:6402:4310:: with SMTP id m16mr1627018edc.207.1610959738570; Mon, 18 Jan 2021 00:48:58 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id q20sm9152392eju.1.2021.01.18.00.48.57 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jan 2021 00:48:58 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH] firmware: xilinx: Remove PM_API_MAX value Date: Mon, 18 Jan 2021 09:48:56 +0100 Message-Id: <86e94593a29a1b5b1958c539a1bfabdd08c0948e.1610959734.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210118_034902_129685_C43AE04C X-CRM114-Status: GOOD ( 11.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tejas Patel , Amit Sunil Dhamne , Rajan Vaja , Greg Kroah-Hartman , Jolly Shah , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There is no reason to keep PM_API_MAX around. The commit acfdd18591ea ("firmware: xilinx: Use hash-table for api feature check") removed its usage that's why it is not used anywhere now. Signed-off-by: Michal Simek --- include/linux/firmware/xlnx-zynqmp.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index 2a0da841c942..0a483249ff30 100644 --- a/include/linux/firmware/xlnx-zynqmp.h +++ b/include/linux/firmware/xlnx-zynqmp.h @@ -85,7 +85,6 @@ enum pm_api_id { PM_CLOCK_GETPARENT, PM_SECURE_AES = 47, PM_FEATURE_CHECK = 63, - PM_API_MAX, }; /* PMU-FW return status codes */