Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1556684rwl; Fri, 24 Mar 2023 12:08:30 -0700 (PDT) X-Google-Smtp-Source: AKy350azpydk1Km2/wFaAcrNdwJKJIiGgm+zMkunCDdgzvCDLiurDtE6XnbEDywxrRJd/CONF5NG X-Received: by 2002:a17:902:e88e:b0:19d:ee88:b4d7 with SMTP id w14-20020a170902e88e00b0019dee88b4d7mr4642151plg.25.1679684910588; Fri, 24 Mar 2023 12:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679684910; cv=none; d=google.com; s=arc-20160816; b=KWzMSan77uNueCDxIxThHO93Ovs1j2S2fnA39IiHG7CbkGqfBXeTEKjzNpIIj69Gjy 8MUC9QF20LxY8d8StBMiv9YHW8I8Psirn7Vlaad0FLMVh5HguQtpUV21ruCzKpv0AzfB T21CT2+TfEBYHz5XK9V3IBd0OP2Z9C8onhwSYqlLqa64GGZ6CCHO3QRAzecfVBOHR/bu Xw681qPXPZtQ3SFwL83gX+DAQcr7gFqlZ+QzKUJ8EG/yeHxgN64v3SvuXaYKTGlpC55c z30IDzMZ3e83+LJ7VYDigj49M3yV6Gv+99Wag+Mu2FkjDJsUdWi6h7hjn/vEQUptX2Si adQA== 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=m1e+oH63s8EilReY/6J1/4GgJ3Yip783LTwv8q9nidY=; b=XTlG2elbfwVw8UMwl4NDtQ7Tavcqoh+RJjSO8bb8TrxyL6KprQ5UKiVAJxGWEVy0+E iIjVW7YKGgd4T2c/5fGJs423GoLx4apy1YjzsTLTpYLBvlDvbBRWL0ynuV8TtMWztG4M hndAWeHGj6G70B8yHMZ+BbuHpJLo2zpdn0Kjhf1aulR8H5a9IopPovraHhs0Cwajmegl pumqP/HwOjAa0p3f+NHtjCDiTSTLtqIPJVtRMYyYLxik5tvU+507imHvUI8C0ItZKelo FhTTBLHmWoWURjSgal6rUvPz0PxFO0khBDc3W/GpL3wkmh1gsl9wMOINH5CwX9miCwl9 1/AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=X4GVWJrP; 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 kx13-20020a170902f94d00b001a1b238d1c0si18145063plb.636.2023.03.24.12.08.18; Fri, 24 Mar 2023 12:08:30 -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=X4GVWJrP; 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 S231433AbjCXTHo (ORCPT + 99 others); Fri, 24 Mar 2023 15:07:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231215AbjCXTHn (ORCPT ); Fri, 24 Mar 2023 15:07:43 -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 544E61A942 for ; Fri, 24 Mar 2023 12:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679684812; 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=m1e+oH63s8EilReY/6J1/4GgJ3Yip783LTwv8q9nidY=; b=X4GVWJrPUP7H58rDM/uvIswL6yH4xPikqC3Ti5T4DgQQNm57WvaB2eZpWgU+CjdGszDSWV Rnx6WcH8cFJfdrrqIEmLppYojo4r+6HhF14BrZ5D0eTjWRJDGwg0c61sFrom9DjxUHm4c9 pJisvTGzYMeoQUaN6VRB0W7tdPrZbOw= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-346-SqmrjD7WNfaxL3ywTfrlCA-1; Fri, 24 Mar 2023 15:06:51 -0400 X-MC-Unique: SqmrjD7WNfaxL3ywTfrlCA-1 Received: by mail-qt1-f199.google.com with SMTP id t15-20020a05622a180f00b003e37dd114e3so1584644qtc.10 for ; Fri, 24 Mar 2023 12:06:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679684810; 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=m1e+oH63s8EilReY/6J1/4GgJ3Yip783LTwv8q9nidY=; b=pIhMN8mrVPL8uLAAdPUX0lSC6Uw+3x6qHi1WAqB/t4I5wDVbUEIEzDbLRtlGtJ3956 mesZNCs9TZSFOXet8fw5iWd7jRUdTasZ4qTdU9XohIqkRbnlrhgEb+UX3VsJmRaoPRpn atmXj6j1/B0KceCBvZI0wmIE9K6HnTQJb4muI+0jTde2b64AixMB+UglBSynlElmh7XR pdTvxuF1Gy5jLR4a+VfyT07cXJXluSiziyVPxrAXN8EAFZkdDmR0zEkcPy5RtT6JtIyb 4KvD25sv0B6DFcDDEmSgYUePl9ohyXfglodqRlGcrJq9tpQNbNz6anrFKYXby5PqdXOS Kxsg== X-Gm-Message-State: AAQBX9c2ybygQi4/OVKeT2x51sLts1fTmPEk4ll5NXg6dnsO74DcbIJH X8vdOmkbhpHRId6X8kxSfolBDkvNkkIoNb/FuqVUJEMsg7c/FvtrjtaWWSPCV+SlYkghIwtWdl0 9ni2i9FBwoSJOlz+VVbSTECVE X-Received: by 2002:a05:6214:27e8:b0:5a9:2bc0:ea8b with SMTP id jt8-20020a05621427e800b005a92bc0ea8bmr5351758qvb.47.1679684810468; Fri, 24 Mar 2023 12:06:50 -0700 (PDT) X-Received: by 2002:a05:6214:27e8:b0:5a9:2bc0:ea8b with SMTP id jt8-20020a05621427e800b005a92bc0ea8bmr5351729qvb.47.1679684810228; Fri, 24 Mar 2023 12:06:50 -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 kr15-20020a0562142b8f00b005dd8b93456csm885828qvb.4.2023.03.24.12.06.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 12:06:49 -0700 (PDT) From: Tom Rix To: zajec5@gmail.com, nathan@kernel.org, ndesaulniers@google.com Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Tom Rix Subject: [PATCH] bcma: remove unused mips_read32 function Date: Fri, 24 Mar 2023 15:06:47 -0400 Message-Id: <20230324190647.2654293-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/bcma/driver_mips.c:49:19: error: unused function 'mips_read32' [-Werror,-Wunused-function] static inline u32 mips_read32(struct bcma_drv_mips *mcore, ^ This function is not used so remove it. Signed-off-by: Tom Rix --- drivers/bcma/driver_mips.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/bcma/driver_mips.c b/drivers/bcma/driver_mips.c index 4f01e6b17bb9..9be0806eb033 100644 --- a/drivers/bcma/driver_mips.c +++ b/drivers/bcma/driver_mips.c @@ -46,12 +46,6 @@ static inline bool bcma_core_mips_bcm5357b0_quirk(struct bcma_device *dev) dev->id.id == BCMA_CORE_USB20_HOST; } -static inline u32 mips_read32(struct bcma_drv_mips *mcore, - u16 offset) -{ - return bcma_read32(mcore->core, offset); -} - static u32 bcma_core_mips_irqflag(struct bcma_device *dev) { u32 flag; -- 2.27.0