Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6064572rwl; Wed, 22 Mar 2023 06:10:44 -0700 (PDT) X-Google-Smtp-Source: AK7set+ttE/lqkspUMdl8GWAvzVSKjIYsWz7r39MExmU2pq2nKS1eZ6qF/P95YamESkd0CU9rewv X-Received: by 2002:a17:906:9453:b0:931:7350:a4f3 with SMTP id z19-20020a170906945300b009317350a4f3mr7220959ejx.10.1679490643921; Wed, 22 Mar 2023 06:10:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679490643; cv=none; d=google.com; s=arc-20160816; b=DVztwsFXwpehCSfdrnbma+oZb1BcB6N31Mp5Q/C9H6PF0VoDz+bMh1Vyib4F/A6kvV 0kQD2H/qYp6OFF7ptE8YjD7yqrsZCB3D1GOrgmu9wYQrdrIOGj7NBhdL+GwK9O7gk+qg BjddUTsjd7filzrcf3axsnei6oFlVPxIFH9FT/DNxcreK5b4ScTsy712xKbsXpRmBPZL FdGegQsimssWZAhyjo9ww5GocYCxpsCM5FxmFwE0YIr6kmP0ISTv8+1yrbxix4QUFMqC Tfcb6z0+9p3Dn4d1EPT7PsOrweW6bq2PhyMzy8TiIZ8Ley/VZHPs0mvpFnqmireuAY0R 8bGg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=TIlkqLegAeBC+m6CULqCYBtfGXGiuVBtfnZhQsPJi1c=; b=b5ubWGRjTIC8GT1C1vza4F9kevIQ7xTxh4vLU3TUGxv0IvNXNsd8oOwZUlLhI/nQHB 7cLRDrdrjLRx/nrWL6rk66tE2Q0qEWq8HZkKPmUamuDM+0kDrgUt0mRw7bykqmmPd/DH IRXTquD406RarcwC/RARO4m6AOJAYSiCjl3x0RxwubFKbo+21sikpfQClBYqaOTIenf5 lQzFvfnozVjowNCDDWo9qoKzknCC0xogpBWvDijVIybg55WZhyo713gm7CzWzy+Mh6D6 Gts/jAB+8fsESh10V0wowJScYbqwN2RunPZvu+TL3/kFZBWACgB0oyDF7f9AUK7nszel SllQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZKzsUA8j; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id vg4-20020a170907d30400b009377c5b6b0asi6904662ejc.275.2023.03.22.06.10.19; Wed, 22 Mar 2023 06:10:43 -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=@redhat.com header.s=mimecast20190719 header.b=ZKzsUA8j; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229766AbjCVM7E (ORCPT + 99 others); Wed, 22 Mar 2023 08:59:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229731AbjCVM7C (ORCPT ); Wed, 22 Mar 2023 08:59:02 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99624574C7 for ; Wed, 22 Mar 2023 05:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679489890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=TIlkqLegAeBC+m6CULqCYBtfGXGiuVBtfnZhQsPJi1c=; b=ZKzsUA8jMRHwX/NMBN+26e4vRJ/VwRKod+T7P7wGpJOzz1gnxi+LW/DLYyLfRyRlyJ9AaM T69tdm9FNSaHNTZzQkqMo0B9ZXV/+ql0ODjPnmUwDE44s8hp6XqLbmKxoMthVY7xBnB3gA AVWcUg+7l9JmRZysTPBhse7YksxUL0s= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-262-UOvmLwiQP5a3Hwv5jTHBtQ-1; Wed, 22 Mar 2023 08:58:09 -0400 X-MC-Unique: UOvmLwiQP5a3Hwv5jTHBtQ-1 Received: by mail-qv1-f70.google.com with SMTP id a10-20020a0ccdca000000b005d70160fbb0so1080336qvn.21 for ; Wed, 22 Mar 2023 05:58:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679489888; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TIlkqLegAeBC+m6CULqCYBtfGXGiuVBtfnZhQsPJi1c=; b=AwJqkVueMdf1G8FuZZwSfGGcbHYxhq1YpS0cBvsh0lUtcoPZygr+i7Ex1uJa+uGOGV hsfJVMP+9LPW6kkXOgvmzfiEDNi1OQB9aqx9y16KxUoOP3KPeDwEBlcM66ZWikstlqIN 2Ri8fCmPzsfCol80IJxYT7zlcW3tw3qW31U6QNlbbG7zl3qoL6Nci604+TgPXcr6VhdK 5gbZh99ZznzKzS4/krpIoqGb+f6Kb0il8J0nm+VnIw+91gnCEKPHu0fXESGF8BjAXSFK YyH2px/RnviJzVZFIkqTFX6bnYjoQQLNc2MhRt9XS29WyVx/mYQtVE1nhJjDjCRKn7wW ix+g== X-Gm-Message-State: AO0yUKUyeQ1OquUCnptbIuhMftdgoGFNlbRl20HyVSpPKTaWvHlm0fGZ TyQu2ExVA5CDJODSteWL+trAGA5J/0A1xF7sBjPba+ehnwi6gM6DvNiIguVCCjTAMRokh3fmvdM AJC0QSaAO9JCHj6JEYAYjMsM1 X-Received: by 2002:ac8:4e8f:0:b0:3e0:61d0:f7f7 with SMTP id 15-20020ac84e8f000000b003e061d0f7f7mr3644649qtp.14.1679489888598; Wed, 22 Mar 2023 05:58:08 -0700 (PDT) X-Received: by 2002:ac8:4e8f:0:b0:3e0:61d0:f7f7 with SMTP id 15-20020ac84e8f000000b003e061d0f7f7mr3644621qtp.14.1679489888366; Wed, 22 Mar 2023 05:58:08 -0700 (PDT) Received: from dell-per740-01.7a2m.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id j9-20020ac874c9000000b003dffd3d3df5sm6394388qtr.2.2023.03.22.05.58.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 05:58:08 -0700 (PDT) From: Tom Rix To: tony@atomide.com, lee@kernel.org, nathan@kernel.org, ndesaulniers@google.com Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Tom Rix Subject: [PATCH] mfd: omap-usb-tll: remove unused usbtll_readb function Date: Wed, 22 Mar 2023 08:58:03 -0400 Message-Id: <20230322125803.2570968-1-trix@redhat.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org clang with W=1 reports drivers/mfd/omap-usb-tll.c:128:18: error: unused function 'usbtll_readb' [-Werror,-Wunused-function] static inline u8 usbtll_readb(void __iomem *base, u32 reg) ^ This function is not used so remove it. Signed-off-by: Tom Rix --- drivers/mfd/omap-usb-tll.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c index 8ca4067da6cd..69cbc2097911 100644 --- a/drivers/mfd/omap-usb-tll.c +++ b/drivers/mfd/omap-usb-tll.c @@ -125,11 +125,6 @@ static inline void usbtll_writeb(void __iomem *base, u32 reg, u8 val) writeb_relaxed(val, base + reg); } -static inline u8 usbtll_readb(void __iomem *base, u32 reg) -{ - return readb_relaxed(base + reg); -} - /*-------------------------------------------------------------------------*/ static bool is_ohci_port(enum usbhs_omap_port_mode pmode) -- 2.27.0