Message ID | 20221021202424.307531-4-helgaas@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp889887wrr; Fri, 21 Oct 2022 13:32:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7cf4APnmUKbQtWc6O7WqxGnYac1nw2ERyaI1ij91EO5lxmFRYgjkJhaGEd2PXBa8WqyW1d X-Received: by 2002:a05:6402:ea8:b0:456:d188:b347 with SMTP id h40-20020a0564020ea800b00456d188b347mr19104550eda.15.1666384342832; Fri, 21 Oct 2022 13:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666384342; cv=none; d=google.com; s=arc-20160816; b=J5aR/pNhG57F5/cofTabouWOgu3u5B94/9d/6WB5/evrA53qvVmiTwWHQqWrQO+jZZ Ho1InmeTMrCNLQFGDotSRkX35oO147qCWPVtxP+JBrZe+2g7r9a6+Zrh25pbxMycueZO hZwfxsm5xrbv/55EELo00oHf6tuIrzXJTQLx6Ym/vMJcKaGOj8nzGW7RB2auYQaOTBC8 1Po51LaT6Bi0x2fefkqHYf2IyR0hizwf88Kh6a29C0x7O9UptuoRAPyfXkLhghidzPPC xnDGBcsYUv9ODmanjPuljKXUGYjXmsai4T918o6iyTm7lKfWx3aznCbVxfDapJsxsvN6 c4zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XTVzRN8HMBqlwVYu8U5r2Aif0MWFnMaa0dZZCloeG0I=; b=ZZ3U2vrOYg1PK5YP+kr/7vM+Ld0ZYKK/knM8aj7ZCQzdteB/cb4XtAIBuLKi5TdWvs efTfO5S83cTsEh+P248kaXaRW68DK+Og88v/cZDpLv9G/5qf/RNQQPjj3U6lKVotC7FY suJMZsz6Qkgy57k7/8m6tamdBsYhV2vV3hsYb6hOn+7tWjMVy5tuaQwLJ1ayfWfciNSd nRsPbz+hImfxFA+ZF6hbyT78KVIYe3uOdAF5oNlpcDJ/vI2b0c59zKj9QcYHKipbdLIm 9x4Ei5LZOo+yBTgOz8bSOmXr1fgeRAlrfKyCSjhcJjbw0vP7tJwF9u9UnGnc7jVC3ifb V2Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sY18lwjF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m19-20020a056402511300b00459cf784343si25291612edd.176.2022.10.21.13.31.58; Fri, 21 Oct 2022 13:32:22 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sY18lwjF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230084AbiJUUZE (ORCPT <rfc822;mntrajkot1@gmail.com> + 99 others); Fri, 21 Oct 2022 16:25:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229685AbiJUUYo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Oct 2022 16:24:44 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E38962EF2A; Fri, 21 Oct 2022 13:24:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A5DCBB82D4A; Fri, 21 Oct 2022 20:24:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41A11C433D6; Fri, 21 Oct 2022 20:24:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666383880; bh=+AVx5SV5r/tSMDS/xVQQrQ6GZyuBqXfn99TrHMsZq2U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sY18lwjF9NMGyRWndJF/89uK3hP/CUv48OX6gL4ugZmharMVNn0K50kXHipp4Av0l Te4WtPlqyN73O6k4RO6Se5J/xNq/r+MBkQ4PdWnNtmAcCu+vw3gcXw20uR8H9awbMP mJM2OoKEnAakMv7wMRh9ENSKVIrUOfzq+7D1Z7cW92W+nlWNFs/RKfSjPYiqNhQHs6 6UG5gr2Bxqj265fCi2ohRxGh8wuvKeNYXi/dZpP6gzlek8Gjp9GuORSzIAs58HRcGB 5PizU1eoJplVJNyarA838+XhkHuOO9EGCHZ/W9SFkCvJMO81ONP2LjOBE5HmYVOi9u RplhnzLRp/4qw== From: Bjorn Helgaas <helgaas@kernel.org> To: Yoshinori Sato <ysato@users.sourceforge.jp>, Rich Felker <dalias@libc.org> Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas <bhelgaas@google.com> Subject: [PATCH 3/4] sh: remove unnecessary __BUILD_IOPORT_PFX() Date: Fri, 21 Oct 2022 15:24:23 -0500 Message-Id: <20221021202424.307531-4-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221021202424.307531-1-helgaas@kernel.org> References: <20221021202424.307531-1-helgaas@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747330628410624373?= X-GMAIL-MSGID: =?utf-8?q?1747330628410624373?= |
Series |
sh: remove unused SLOW_DOWN_IO
|
|
Commit Message
Bjorn Helgaas
Oct. 21, 2022, 8:24 p.m. UTC
From: Bjorn Helgaas <bhelgaas@google.com> The only reason __BUILD_IOPORT_PFX() existed was to accept a "bus" parameter, but nothing ever used that. Remove __BUILD_IOPORT_PFX() and collapse it into BUILDIO_IOPORT(). Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> --- arch/sh/include/asm/io.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/sh/include/asm/io.h b/arch/sh/include/asm/io.h index 193640bd9563..e29e8870dc3b 100644 --- a/arch/sh/include/asm/io.h +++ b/arch/sh/include/asm/io.h @@ -161,13 +161,10 @@ static inline type in##bwlq##p(unsigned long port) \ return __val; \ } -#define __BUILD_IOPORT_PFX(bwlq, type) \ +#define BUILDIO_IOPORT(bwlq, type) \ __BUILD_IOPORT_SINGLE(bwlq, type,) \ __BUILD_IOPORT_SINGLE(bwlq, type, _p) -#define BUILDIO_IOPORT(bwlq, type) \ - __BUILD_IOPORT_PFX(bwlq, type) - BUILDIO_IOPORT(b, u8) BUILDIO_IOPORT(w, u16) BUILDIO_IOPORT(l, u32)