From patchwork Tue Oct 25 09:03:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13018867 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 A0B92C04A95 for ; Tue, 25 Oct 2022 09:26:45 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sJgL0buQdOst/v2v1oF+8khcw9MnHUSqTCQvqWdSWKI=; b=iX6cTnnn684w2Y 4hbEKGdxtDe0db3z6GT60GemnFrR7pOUripvANCUHPi4796o+Wj8JVeyuwM5GziHMkYHVpk6qc3xi Rzq2M3TRm4n7F7vwT6gbJGcgJN+/QzRFldAirpANeGqIo+R2E2HBM7ZwYMivN9Ut9MC9y3QHJKkJG BwS+K/Aa/nbXhklAmBHAZjPPKLE+bRETJySXtz0bRqn8KXilwg+rVZzBLNyDZbXWc7idNnzXL3LZx w9eKt2rZYWDNluP7XY6rKMy9H3lSckG2b8St97EEfi/hVQRl4LWycjrVJUQVT5ND6hMLX7HXF5FeC UgUfkdXgrytIjIav6mLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onGBl-004Z1p-1V; Tue, 25 Oct 2022 09:25:37 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onFre-004PsW-VC for linux-arm-kernel@lists.infradead.org; Tue, 25 Oct 2022 09:04:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666688690; x=1698224690; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=P9iIMmHJLireRN4HABIXkO8389zu7kysPq2RycWf/1g=; b=rtzvBIGJb24CYaQr+hGkPmIwZ24D+4V3wsp1kQ5NJrR0G7+ywzogKPxO 7A+T5lax8p+HYlJ6l8xnfwtZaywl5mq/jL//ONYk6eAihC/5Z2G5omkVF ZsF6VLQLGePi0iPBy2jcZsu6KrF5kZVZ+xu9c75/+qbzOz09lEFbnjLnV 4gHe/gSjWnz2kxdenFAeDGVxcm+9QqO0+GqBU5X4951aeEnkmy3/QzN8D bR9hqNUTdrXKJRGr3WswmFYABsdAHu6z7paOniAgVroxmq+wex9ajNRHX gMyM2OpgSwrFTr0KnF7lzbif5Cf71QACDLvhXQOi7M0cmVwWjQzPEP3H+ g==; X-IronPort-AV: E=Sophos;i="5.95,211,1661842800"; d="scan'208";a="196910329" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 25 Oct 2022 02:04:46 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 25 Oct 2022 02:04:43 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Tue, 25 Oct 2022 02:04:41 -0700 From: Tudor Ambarus To: , , Subject: [PATCH v2 31/32] dmaengine: at_hdmac: Remove unused member of at_dma_chan Date: Tue, 25 Oct 2022 12:03:05 +0300 Message-ID: <20221025090306.297886-32-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025090306.297886-1-tudor.ambarus@microchip.com> References: <20221025090306.297886-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221025_020451_075560_9479BCEF X-CRM114-Status: UNSURE ( 7.39 ) X-CRM114-Notice: Please train this message. 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: , Cc: Tudor Ambarus , maciej.sosnowski@intel.com, linux-kernel@vger.kernel.org, mripard@kernel.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, torfl6749@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The pointer to at_dma engine was never used, remove it. Signed-off-by: Tudor Ambarus --- drivers/dma/at_hdmac.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index e39b9b47234a..143d75c18d1e 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c @@ -253,7 +253,6 @@ enum atc_status { /** * struct at_dma_chan - internal representation of an Atmel HDMAC channel * @dma_chan: common dmaengine channel object members - * @device: parent device * @ch_regs: memory mapped register base * @mask: channel index in a mask * @per_if: peripheral interface @@ -273,7 +272,6 @@ enum atc_status { */ struct at_dma_chan { struct dma_chan dma_chan; - struct at_dma *device; void __iomem *ch_regs; u8 mask; u8 per_if;