From patchwork Mon May 2 09:02:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hector Martin X-Patchwork-Id: 12834008 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9A89C433EF for ; Mon, 2 May 2022 09:04:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YHXAXfr4z+WjwBT2h2mw1NcaptXq8Pa+aOV5ablzauU=; b=Ln5k0FjRVFLa04 BixH3j4xZBZy0++jhSruA3Yj7sqMklsRwvVuHWzla4wG/UKK4sQy1dvCqrMPFcdlnzH3hgDysxibv dcqrv4vvP87EMp4ocBhh7isb/KVNr2i7cL55chjlPSi+4rAEX4DJ+08QheSFgeSN2MM/3iLDO6Kob OH4Bdwel7e+b3cLUfdDw3ye0+K5DijELJFR+gDx+jeaKoZQF35HdRBvOfrzgM7tp5QzZsDDdic/6H 55XWwSzni7Xaj45xkG4Zytm39ZUUKs8BUgNO7tJORxdD2aP2aOk8rF7o0VRa9oawIBCXkZNMWTLFI g1fmyUqNO/wPgTYwJODQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nlRxP-000VJa-1y; Mon, 02 May 2022 09:03:03 +0000 Received: from marcansoft.com ([2a01:298:fe:f::2] helo=mail.marcansoft.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nlRx6-000VCN-6u for linux-arm-kernel@lists.infradead.org; Mon, 02 May 2022 09:02:45 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hector@marcansoft.com) by mail.marcansoft.com (Postfix) with ESMTPSA id D41B041E96; Mon, 2 May 2022 09:02:37 +0000 (UTC) From: Hector Martin To: Cc: Hector Martin , Anup Patel , Vinod Koul , Sven Peter , Alyssa Rosenzweig , Mun Yew Tham , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Michal Simek , Arnd Bergmann , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [PATCH 2/7] mailbox: sun6i: Unexport unused sun6i_msgbox_peek_data Date: Mon, 2 May 2022 18:02:20 +0900 Message-Id: <20220502090225.26478-3-marcan@marcan.st> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220502090225.26478-1-marcan@marcan.st> References: <20220502090225.26478-1-marcan@marcan.st> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220502_020244_434667_77A34D3A X-CRM114-Status: GOOD ( 11.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This op was ambiguously specified, and the way it was interpreted for this implementation is not useful. It has no users, so remove it. The function is used internally by the driver, so just remove it from the ops structure. Signed-off-by: Hector Martin Acked-by: Samuel Holland --- drivers/mailbox/sun6i-msgbox.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mailbox/sun6i-msgbox.c b/drivers/mailbox/sun6i-msgbox.c index 7f8d931042d3..47aedda80f3f 100644 --- a/drivers/mailbox/sun6i-msgbox.c +++ b/drivers/mailbox/sun6i-msgbox.c @@ -189,7 +189,6 @@ static const struct mbox_chan_ops sun6i_msgbox_chan_ops = { .startup = sun6i_msgbox_startup, .shutdown = sun6i_msgbox_shutdown, .last_tx_done = sun6i_msgbox_last_tx_done, - .peek_data = sun6i_msgbox_peek_data, }; static int sun6i_msgbox_probe(struct platform_device *pdev)