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: 10636 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp893151wru; Tue, 25 Oct 2022 02:11:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6GzT8QY/wLqNpoDkbU8fJ4CvGvWkM4vqZWWcqBmk7c255Wob7S3fjRBia3XTqwfndfRtM3 X-Received: by 2002:a17:907:e93:b0:78d:46b3:3a76 with SMTP id ho19-20020a1709070e9300b0078d46b33a76mr30974646ejc.133.1666689066355; Tue, 25 Oct 2022 02:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666689066; cv=none; d=google.com; s=arc-20160816; b=y5vtDtEvJk5A9wlBLCGZtmWh2ldFQDBjIFdrfOJFQPJYO1biS7yVvMX7GFNG9SCn/M zXWz1sOpguZVwJBw1bmXl7h8uVEqr5kr3+b9I4+Ho/DC2WnZ8dWpM+tngsMNqxzMGN/j xU3X8PYXBJ6RGZGTcDukU8MMptd86w8JkoMknxnmkQkkY5go4U4gf94jZROcI1QaR/Pj Qt3PYiov5ivJ7I/ghLJnk7NjNpumcEt8U7j7ywvhZLhwgXLw0+sAn2ONJ37RKSNJ52IR /U1SxqFW/4WqDK5oaIe0PTXt45qhgiBu+nTuc2YzfcxQ6fslJuWWMac2vqAtuWzJfSvR kWbg== 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=QhN2lC1XAxf0bRjHkR5bYcXyKMRnhKneWjMloKE2ktc=; b=R8M9pKKQyKM+bTtX47GEtKojYzoGRCie3+YYJtJGFCtCM6qxQs/QYtkKmM+VVfxjsO bktAWdT+paNf1PqLjmWEHMHztbg+HumSnPKCLf1/uqNmViNRzaAMXy2O1Z3lF+wycYzi N+I2vn4OAb3CL506TonDIONM7u7eYdxYPxpHu3Kb1YsaAHGQpibOqQQDfJUWq0AeOW9/ AypHpljlZAZihLn+jzfXapv1Cp5JAzCKJTM9XWOHDK/9PpFYp35oESIfInnvDPQfWN3I CvK0AGHJvmR3br/EGrRWQdhbe15EMSl99FcG88ZBk3t3z2MeRkyxzfICBawinS/d+QzT IwzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="mZFs/6lG"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gv28-20020a1709072bdc00b0078e0fd161dasi2253514ejc.87.2022.10.25.02.10.39; Tue, 25 Oct 2022 02:11:06 -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=@microchip.com header.s=mchp header.b="mZFs/6lG"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232338AbiJYJJl (ORCPT + 99 others); Tue, 25 Oct 2022 05:09:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229950AbiJYJIg (ORCPT ); Tue, 25 Oct 2022 05:08:36 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D63791645C3; Tue, 25 Oct 2022 02:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666688691; x=1698224691; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=P9iIMmHJLireRN4HABIXkO8389zu7kysPq2RycWf/1g=; b=mZFs/6lGzK2cCvSAFV7JWeidiAUHXAkdr4RtNSVC2PEIevuqKVIz2Lc5 /A70HT6L8/c1TVyui9PYgNkE7br75epJ/B+KvTFSvwfce8vXNRDoRpKLC Bv4RbfOEJErMov4sUFwCJwJQnMr74sAQGsMExoTDUW7tRjxBLQcO/jli1 YV7D1xzNc2YC8tATbZDyBDy6odmGWKRVrN+f6MOsjWJobZfIqDhLm/4Q7 Ou61swsynhHYU18CV9j45M7y6HWxmNHTFDtq2c9Ca/euUPdSQ3AAF0B/B jA60f+825T/gyYEZoyCVhvKhwzwq/wSw+hpWtxP1JHgPtCMRDYd0RQQyo A==; 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: , , CC: , , , , , , , "Tudor Ambarus" 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747650154095121331?= X-GMAIL-MSGID: =?utf-8?q?1747650154095121331?= 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;