public inbox for linux-kernel-mentees@lists.linux-foundation.org
 help / color / mirror / Atom feed
* [PATCH] greybus: loopback: remove gb_loopback_async_wait_all()
@ 2025-06-28  6:31 Pranav Tyagi
  2025-06-29  9:47 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Pranav Tyagi @ 2025-06-28  6:31 UTC (permalink / raw)
  To: greybus-dev, linux-staging, linux-kernel
  Cc: pure.logic, johan, elder, gregkh, skhan, linux-kernel-mentees,
	Pranav Tyagi

Remove redundant gb_loopback_async_wait_all() as connection is disabled
at the beginning and no further incoming/outgoing requests are possible.

Signed-off-by: Pranav Tyagi <pranav.tyagi03@gmail.com>
---
 drivers/staging/greybus/loopback.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/loopback.c
index 1f19323b0e1a..9d0d4308ad25 100644
--- a/drivers/staging/greybus/loopback.c
+++ b/drivers/staging/greybus/loopback.c
@@ -1110,13 +1110,6 @@ static void gb_loopback_disconnect(struct gb_bundle *bundle)
 	gb_connection_latency_tag_disable(gb->connection);
 	debugfs_remove(gb->file);
 
-	/*
-	 * FIXME: gb_loopback_async_wait_all() is redundant now, as connection
-	 * is disabled at the beginning and so we can't have any more
-	 * incoming/outgoing requests.
-	 */
-	gb_loopback_async_wait_all(gb);
-
 	spin_lock_irqsave(&gb_dev.lock, flags);
 	gb_dev.count--;
 	spin_unlock_irqrestore(&gb_dev.lock, flags);
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-01  9:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-28  6:31 [PATCH] greybus: loopback: remove gb_loopback_async_wait_all() Pranav Tyagi
2025-06-29  9:47 ` Greg KH
2025-07-01  9:12   ` Pranav Tyagi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox