[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210821121134.23205-1-niklaslantau@gmail.com>
Date: Sat, 21 Aug 2021 14:11:34 +0200
From: Niklas Lantau <niklaslantau@...il.com>
To: stern@...land.harvard.edu
Cc: linux-usb@...r.kernel.org, usb-storage@...ts.one-eyed-alien.net,
linux-kernel@...r.kernel.org,
Niklas Lantau <niklaslantau@...il.com>
Subject: [PATCH] Usb: storage: usb: removed useless cast of void*
Removed useless cast of a void* and changed __us to data
Signed-off-by: Niklas Lantau <niklaslantau@...il.com>
---
drivers/usb/storage/usb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
index 90aa9c12ffac..e78e20fb1afa 100644
--- a/drivers/usb/storage/usb.c
+++ b/drivers/usb/storage/usb.c
@@ -295,9 +295,9 @@ void fill_inquiry_response(struct us_data *us, unsigned char *data,
}
EXPORT_SYMBOL_GPL(fill_inquiry_response);
-static int usb_stor_control_thread(void * __us)
+static int usb_stor_control_thread(void *data)
{
- struct us_data *us = (struct us_data *)__us;
+ struct us_data *us = data;
struct Scsi_Host *host = us_to_host(us);
struct scsi_cmnd *srb;
--
2.33.0
Powered by blists - more mailing lists