Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1002721rwl; Fri, 31 Mar 2023 05:36:55 -0700 (PDT) X-Google-Smtp-Source: AKy350YM0j0xI+Tr/wzxl7SZnTAQUZlQvYUO5damWy8Ivo0Rbuy+/MNStVKEkcvV07crARCzjO3M X-Received: by 2002:a17:902:ecc2:b0:19a:7060:948 with SMTP id a2-20020a170902ecc200b0019a70600948mr6142787plh.1.1680266215670; Fri, 31 Mar 2023 05:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680266215; cv=none; d=google.com; s=arc-20160816; b=auij4qA5LDRif/7fXwfnFtsHWAS264VzdAvQAjPFT3rL6wDfQCx0A9oawKpfLw3dSi JOC8q5E/TCmmubMJWowoy13k6ij82t/59J5LNNouBCq2kcTzny4ffkw8HTKR0pUKjc5H GNPvnnUKt82lO2maPvEM8aZouAUi6Rx2jx820q/U8yDvaqJ1mm71hCBCxWaqd4khq2C5 ZMJgfFkP7hzXpZJnlusYMGdwID+OYmCwDtxoJj/mJHr3pr/hYZrrS8bsw07Ip6AcYzvC 4VOTY8b2lQiarSCZIeQ0s2hJxYsPAGgFqXuQ0lGSzfR14uMYATDxTzK+LLPXiVt8rpHT o+NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MnN+AJf6m3OxgeI4g8KlJuMiB0aSJ+vIiAr/JC6M77Y=; b=xaJX5yrNBsDQxO6SPiuTFdq6BcvAk40Yy6ESwWDCgnt/M7cxjqaV95tHE9xBRyYwN9 u12FEzmDnltWuw8xbK51nowk6zYeifPzneQuJppZ+lWumxqCnp+guYn5tXVn+0lsm7Un YIczRcKVBDem5AVg/g3RftpM3ScGRX4HWExyoDUhOw6PCqh2IBu7BMiRa6qxGu6bNCqH 3iCXUprs0lb+lNDxZkcAfvPNetel9cCZzerjPW/KNm/59uI5tOlPOnw93pwGhrYdTljb lpIEauX1b/89ThN3B+mx8qtz6OSEsg4QBBbPS4coA1VabTMX+uz8sNhmDrhFMhW/wggH TaMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C2lph4nj; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b12-20020a17090a800c00b0023d3567b2a8si1952235pjn.42.2023.03.31.05.36.44; Fri, 31 Mar 2023 05:36:55 -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=C2lph4nj; 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 S231202AbjCaM2h (ORCPT + 99 others); Fri, 31 Mar 2023 08:28:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231574AbjCaM2f (ORCPT ); Fri, 31 Mar 2023 08:28:35 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99A1A2030D; Fri, 31 Mar 2023 05:28:21 -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 3B9F5B82EF2; Fri, 31 Mar 2023 12:28:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0377BC433D2; Fri, 31 Mar 2023 12:28:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680265698; bh=Pg0DePMuJKjZlovJ/nySaK2os7XdKXlA34IFzgpt8o0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C2lph4njsRBU2k/ZsecfHCbNIg89ivSOUsOtARY6SQmK12owwMrvJyLJ6uOlmdxTL glEq156FXxFU1pbUUGk7BSqoCrN8Za1LfIP2XUctcHEbSHt9rmslnWs3ht0ZXYjHrq pkhHQMkm1Z4X4v3XQDpFwx5T4j3pS4h+8fKSLyiOQfSb2IcIir+NKCMCHunK1X/cYb fGPVxShah7ekESAZk9SDytzrqbRvGHk+O8Ny286yH6eNID/8il8QvclehI/DLTt7Ef /qIFkqb3g+SbFhDnILCOaFkrmZ7vRQop17dNvEt/W5PcNx/WORmA7ct7LDYfJEhDFE nINBvSIULnOMQ== Date: Fri, 31 Mar 2023 17:58:15 +0530 From: Vinod Koul To: Tom Rix Cc: gustavo.pimentel@synopsys.com, nathan@kernel.org, ndesaulniers@google.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] dmaengine: dw-edma: remove unused readq_ch and writeq_ch functions Message-ID: References: <20230320234906.1730308-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230320234906.1730308-1-trix@redhat.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 On 20-03-23, 19:49, Tom Rix wrote: > clang with W=1 reports > drivers/dma/dw-edma/dw-edma-v0-core.c:162:20: error: > unused function 'writeq_ch' [-Werror,-Wunused-function] > static inline void writeq_ch(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch, > ^ > drivers/dma/dw-edma/dw-edma-v0-core.c:185:19: error: > unused function 'readq_ch' [-Werror,-Wunused-function] > static inline u64 readq_ch(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch, > ^ > These functions and their wrapping macros are not used, so remove them. Applied, thanks -- ~Vinod