mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Renjun Wang <renjunw0@foxmail.com>
To: Thinh.Nguyen@synopsys.com
Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org, Renjun Wang <renjunw0@foxmail.com>
Subject: [PATCH] usb: dwc3: gadget: remove not used field dwc3_request.sg
Date: Thu, 19 Dec 2024 23:12:22 +0800	[thread overview]
Message-ID: <tencent_0BEB55520D6C9419EC1AC6647AF19BF34E06@qq.com> (raw)

Based on commit 61440628a4ff ("usb: dwc3: gadget: Cleanup SG handling"),
the field dwc3_request.sg is no longer needed and not used in any
other files, remove it.

Signed-off-by: Renjun Wang <renjunw0@foxmail.com>
---
 drivers/usb/dwc3/core.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index ee73789326bc..3be069c4520e 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -956,7 +956,6 @@ struct dwc3_request {
 	struct usb_request	request;
 	struct list_head	list;
 	struct dwc3_ep		*dep;
-	struct scatterlist	*sg;
 	struct scatterlist	*start_sg;
 
 	unsigned int		num_pending_sgs;
-- 
2.39.5


             reply	other threads:[~2024-12-19 15:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20241219151351epcas5p14f6be94bf65085f86d0163615bb81ae7@epcas5p1.samsung.com>
2024-12-19 15:12 ` Renjun Wang [this message]
2024-12-20  6:39   ` Ahmad Fatoum
2024-12-20  9:57   ` Selvarasu Ganesan

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=tencent_0BEB55520D6C9419EC1AC6647AF19BF34E06@qq.com \
    --to=renjunw0@foxmail.com \
    --cc=Thinh.Nguyen@synopsys.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®