From: SAURAV GIREPUNJE <saurav.girepunje@gmail.com>
To: linux-usb@vger.kernel.org
Cc: saurav.girepunje@gmail.com
Subject: Re: [PATCH 1/2] usb: musb: remove unused function argument
Date: Fri, 7 May 2021 11:27:35 +0530 [thread overview]
Message-ID: <20210507055735.GA7789@user> (raw)
In-Reply-To: <PH0PR04MB73174B65B1619C64549E34049E579@PH0PR04MB7317.namprd04.prod.outlook.com>
On Fri, May 07, 2021 at 04:54:33AM +0000, SAURAV GIREPUNJE wrote:
>
>
> ________________________________
> From: Saurav Girepunje <saurav.girepunje@gmail.com>
> Sent: Friday, May 7, 2021 10:11 AM
> To: saurav.girepunje@hotmail.com <saurav.girepunje@hotmail.com>
> Cc: linux-usb@vger.kernel.org <linux-usb@vger.kernel.org>
> Subject: [PATCH 1/2] usb: musb: remove unused function argument
>
> Remove unused function argument from musb_tx_dma_set_mode_cppi_tusb()
> in musb_host.c
>
> Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
> ---
> 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 8b7d22a0c0fb..978d822af2c5 100644
> --- a/drivers/usb/musb/musb_host.c
> +++ b/drivers/usb/musb/musb_host.c
> @@ -602,12 +602,8 @@ static void musb_tx_dma_set_mode_mentor(struct dma_controller *dma,
> 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;
> @@ -633,8 +629,7 @@ static bool musb_tx_dma_program(struct dma_controller *dma,
> musb_tx_dma_set_mode_mentor(dma, hw_ep, qh, urb, offset,
> &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
>
Please ignore this mail.
next prev parent reply other threads:[~2021-05-07 5:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-07 4:36 [PATCH 0/2] *** SUBJECT HERE *** Saurav Girepunje
2021-05-07 4:41 ` [PATCH 1/2] usb: musb: remove unused function argument Saurav Girepunje
[not found] ` <PH0PR04MB73174B65B1619C64549E34049E579@PH0PR04MB7317.namprd04.prod.outlook.com>
2021-05-07 5:57 ` SAURAV GIREPUNJE [this message]
2021-05-07 6:00 ` [PATCH 0/2] *** SUBJECT HERE *** Greg KH
2021-05-07 6:18 ` SAURAV GIREPUNJE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210507055735.GA7789@user \
--to=saurav.girepunje@gmail.com \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.