Staging: rtl8712: rtl871x_io: Remove explicit cast
PATCH 1/1 Staging: rtl8712: rtl871x_io: Remove explicit cast
Explicit typecasting is not required and should be removed. Semantic patch used:
@@
type T;
T e;
identifier x;
@@
* T x = (T)e;
Signed-off-by Shivani Bhardwaj <[email protected]>
--- drivers/staging/rtl8712/rtl871x_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8712/rtl871x_io.c +1 -1
@@ -150,7 +150,7 @@ alloc_io_queue_fail:void r8712_free_io_queue (struct _adapter *adapter) { -struct io_queue *pio_queue = (struct io_queue *)(adapter->pio_queue); +struct io_queue *pio_queue = adapter->pio_queue;if (pio_queue) {kfree (pio_queue->pallocated_free_ioreqs_buf);
Signature · 1 line
2.1.0