Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1189648pxj; Sat, 8 May 2021 10:08:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5N9/0/Rgnv3EtHd3q3BatcEX3sLyPMU7Ke0heOYcBWZf0JTXIZKpvAp9ztQVtqcXj5j4I X-Received: by 2002:a92:de05:: with SMTP id x5mr14507661ilm.156.1620493712029; Sat, 08 May 2021 10:08:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620493712; cv=none; d=google.com; s=arc-20160816; b=P0iseJFzQqqpUKEqW+G8m1gdAjTirxHA8lKSjogJoKI+2LF2ByO2rck8ecvwLVdLYf hhYqZvzG9p17BIOaKO/T+ClNOXa7SR8fyWMNORh/jqo25PmQGtFWzCvU14vcDgFviI1W VwX7qMDIBqFA3m7ba0NhEVYNYaOPuWTPiLZMUh7rB1IVihJY40hvg+YKzZxZVC5BQEAA tEzlEZZiQ+8y4LJcU3ukhKAgagQ/yjdlOWA0fOgSBW0woBgvw80D/4UITFRR+7uVpbVx 1tm98ok5MXRt5KYMkZKONBbYDA+IdwaXU2tgb1kHyIMulTqVsjkcPLFFAuJUc+78rsIB RfKw== 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=JBRMa8mKQ62OMgm3Mexb2/wyLqKwT/ApM4zOBZB39Yc=; b=Zsfv6mgp0jv3/xkQQFshAZuTZGkQRtWrKdtFgyORaR/XOjfueKJunHuQqysswmriDV wKuXe1oYHKj+pVCGUkODqzTonnK39ZTs3Y7mM5+o/ssDj03YbVjQb+L4a3sTmjdwN8rA XuWrBJDJsRW26MIXMryFQIqrFrMgtX09PxBtr27vEgH4WlBSnMBPSw6QcU7ngm2oSD0B yKDgEP7Ac0HewqGBtwp/leYEfkqDt2HVU1GOLNgsK+e2qOmreQiB7zNG/fEblaQp0OXx 6gUPu3e95EBTVUdI5P+qBVWHlvc0EC2YD2mkK/vIz6l3iXCnXOZt3OFL8ZqdJdqj4D0q k6PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dNlNvdUl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si9772432jaj.108.2021.05.08.10.08.19; Sat, 08 May 2021 10:08:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dNlNvdUl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229712AbhEHRFH (ORCPT + 99 others); Sat, 8 May 2021 13:05:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbhEHRFH (ORCPT ); Sat, 8 May 2021 13:05:07 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EA01C061760; Sat, 8 May 2021 10:04:04 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id m190so9827817pga.2; Sat, 08 May 2021 10:04:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JBRMa8mKQ62OMgm3Mexb2/wyLqKwT/ApM4zOBZB39Yc=; b=dNlNvdUl7OspSLy79vEclZ4kN6t0at9zZHsCGnZ1Yh5ucsrh178wTSv1Ur8UbLisL+ 126nasA8yTX3B38f4IntWfJPwoKGW2y5bTiCDXGysOpZmthAyD1cjLz1uSwE/LHxpgLc /8BOgrT3ZFV1/TyuD4rLmUdVYUf+9x92YrgfD+yYlNs5tO3mMJSyEqv9osf+I6CSSSbf k+T73ckW2SuX2Oz9LdI1SwqXHXww+MvBtLgd7Lb5MIsVKOtsOQv6zrwzuja1mfzy1oFC 0cwmPFtzvCRfPfPPgtmw6E3Swp9CVzQdMI5VtnZ/1Unbl5p+IOUmQQMyZhbg32Y17Hv+ B3Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JBRMa8mKQ62OMgm3Mexb2/wyLqKwT/ApM4zOBZB39Yc=; b=mlZuvGkAwx5kp9gIgcY7VQ/5U5fcsyBUvQRhnbfLmBrIMRasuR3RPlEF3aEMRnNmVW Oh/kla7op8qxPLSLiVJPFNs/93Exm/21WBzuDhDM+5goTX9HPYQr1SBNYhyJAyOKcO/u mq6Dy3X9QrdMbP38HGE9/N8L5hi6Sqnr4YJSp5gzz7fnmzgNVbxPnnOc8gVt7LMixdBH pLgLCJwHJCvIkdKJpd5XDVQapSBjO4Om2kyCsMW/zfxWfhgb5jXWTucFlIE1inZ/2sYG q+FWb9YRgOqwwxVUT/eVlvHTxwLFiOLm3XDbCd0DtZxFNbTysVXijgorysSVdscK2C1q fZrQ== X-Gm-Message-State: AOAM531/ZL44Ehd2p3YDTPL35sPvjVmsXc9x4OAW5Ry5WMwfT9DibSzb /Lz3DdpMYUXmg4AHQNjsOdVnXXDtCTFoqg== X-Received: by 2002:a63:2542:: with SMTP id l63mr17050916pgl.128.1620493444127; Sat, 08 May 2021 10:04:04 -0700 (PDT) Received: from localhost.localdomain ([2001:4490:4409:357e:ddc0:965d:2b13:8892]) by smtp.gmail.com with ESMTPSA id g190sm1674468pfb.60.2021.05.08.10.04.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 May 2021 10:04:03 -0700 (PDT) From: Saurav Girepunje To: b-liu@ti.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Saurav Girepunje Subject: [PATCH 2/2] usb: musb: Remove unused function argument dma, qh, offset, length Date: Sat, 8 May 2021 22:33:17 +0530 Message-Id: <20210508170317.24403-3-saurav.girepunje@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210508170317.24403-1-saurav.girepunje@gmail.com> References: <20210508170317.24403-1-saurav.girepunje@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused function argument dma, qh, offset, length from musb_tx_dma_set_mode_cppi_tusb() in musb_host.c Signed-off-by: Saurav Girepunje --- drivers/usb/musb/musb_host.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index 14d9b366e605..a4c185747358 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c @@ -601,12 +601,8 @@ static void musb_tx_dma_set_mode_mentor(struct musb_hw_ep *hw_ep, musb_writew(epio, MUSB_TXCSR, csr); } -static void musb_tx_dma_set_mode_cppi_tusb(struct dma_controller *dma, - struct musb_hw_ep *hw_ep, - struct musb_qh *qh, +static void musb_tx_dma_set_mode_cppi_tusb(struct musb_hw_ep *hw_ep, struct urb *urb, - u32 offset, - u32 *length, u8 *mode) { struct dma_channel *channel = hw_ep->tx_channel; @@ -632,8 +628,7 @@ static bool musb_tx_dma_program(struct dma_controller *dma, musb_tx_dma_set_mode_mentor(hw_ep, qh, &length, &mode); else if (is_cppi_enabled(hw_ep->musb) || tusb_dma_omap(hw_ep->musb)) - musb_tx_dma_set_mode_cppi_tusb(dma, hw_ep, qh, urb, offset, - &length, &mode); + musb_tx_dma_set_mode_cppi_tusb(hw_ep, urb, &mode); else return false; -- 2.25.1