From patchwork Tue Oct 25 09:02:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 10614 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp892335wru; Tue, 25 Oct 2022 02:09:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM47RHPSJsR2UO+0hgLG8YaSXNGsHcug4W72IHFSAvihS/h8zBnF+sFhpy/tr39iNxAPMI5Q X-Received: by 2002:a05:6402:440f:b0:435:2e63:aca9 with SMTP id y15-20020a056402440f00b004352e63aca9mr33794162eda.162.1666688934519; Tue, 25 Oct 2022 02:08:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666688934; cv=none; d=google.com; s=arc-20160816; b=vUTpMY1PP4BbtvCWT+bO6sFYP1afc/WkffxUf187OZlh7tdgVNF9VseuT7A1HQjwQh xZrwT7qtXCK+spMN1XeB2Rd/7HCvfZn+/8Nfmvqu5rz7h1cBUbfX+Akby66lXj+6nHIa db3sfRPhLDEH2NGutg1Tg42zsKTsGX7YleGtdhuQWUiLzuR3+DLagNX4tCw7RMV2TmvY 3fvO4a1YLmx/1GsV4sg54Od6Fgu3z7HTWmBU92Mx8PFLwYE0L6ZLlAPsfj99lnnJQpgn CDGZYc0yh6DAgFR8SlQpk3uS+FQLzdhBpfqlh6LougM1g9mZzbKhD7ArX62YXk0NNqtC +URw== 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=6ccBLBnrUsOrzQ4+fHxBgf4iENrOlvS/rOYgYQOWfBY=; b=Kvg/Aix5K64UP3PptMZst+YiUk54m9yOuZklY4/0UzwiaFAc4RzroYLiKErEiBQ9yp /bxixPq8hIZ6NSuD5Hz/KI0xFwwUHiavy0OqaFE1oGuF4UaBYBxwoFh6D15oiTx6yhCL rXjOIFEBh17ksoCdI2ZexZLftdBNzw+86WGfvod6zZ7sLt+fMsxLagQjOXU563i2QM5N KAYzCxBCOdAYXgPBM33PDedzgpq2EKF2a13cjAQq+5l+KCB9OcGVpRK+DVHrT1nPwaRo nbYvEUQvjJEKPI8xnLcw9n9u7BRRhm3Ou0aaSy0BN9igGjSjAnkX8h+IJWGCRvP4Lm8g rRCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="G8J6hH/8"; 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 rh19-20020a17090720f300b0073beb58e98dsi1859095ejb.276.2022.10.25.02.08.29; Tue, 25 Oct 2022 02:08:54 -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="G8J6hH/8"; 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 S232310AbiJYJGl (ORCPT + 99 others); Tue, 25 Oct 2022 05:06:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232027AbiJYJFK (ORCPT ); Tue, 25 Oct 2022 05:05:10 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E616615A940; Tue, 25 Oct 2022 02:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666688647; x=1698224647; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cAAJjeHZEWokzAQEaqnEad/1KUQmrAtJ7HFn+8iJjoQ=; b=G8J6hH/8dc4EmElDUfg1z84kh3o+YUWpcSUwYdGErNTKYiMh8vGaPvFB 4s3XEp1a97tmqiR/aT0PTRQV4WEI/remWBtdzqBIqc2lEBGj6h+6ZSygb LLPV0zOSmYmOABS1e1/4w7nIzZSg5+HQrGF+rzc+qrNt7f6Dbt34wTH74 Ka/ZH+nFYyJzqL28Lt0ILNX8urjUe3oCHWQDbImTsCjSmDHIDy7JFPoM/ juVgr/eIp9IndQSdg8cKNHIYZ9z1oX0i3NkG021jtVC26ZhNf4EFnFg+3 gtH+BcwqPUZArIXgpecRWHSO/dpDO9+7+SFtuY+9GiCDKZxxStbmrnvBJ Q==; X-IronPort-AV: E=Sophos;i="5.95,211,1661842800"; d="scan'208";a="196910118" 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:07 -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:06 -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:04 -0700 From: Tudor Ambarus To: , , CC: , , , , , , , "Tudor Ambarus" Subject: [PATCH v2 18/32] dmaengine: at_hdmac: Remove superfluous cast Date: Tue, 25 Oct 2022 12:02:52 +0300 Message-ID: <20221025090306.297886-19-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?1747650016348166477?= X-GMAIL-MSGID: =?utf-8?q?1747650016348166477?= Conversions of void * are applied automatically when other pointer types are assigned to and from void *. Remove the superfluous cast. Signed-off-by: Tudor Ambarus --- drivers/dma/at_hdmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index 10b6b0435d52..fbfb207104e9 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c @@ -603,7 +603,7 @@ static void atc_tasklet(struct tasklet_struct *t) static irqreturn_t at_dma_interrupt(int irq, void *dev_id) { - struct at_dma *atdma = (struct at_dma *)dev_id; + struct at_dma *atdma = dev_id; struct at_dma_chan *atchan; int i; u32 status, pending, imr;