diff options
author | Shivani Bhardwaj <shivanib134@gmail.com> | 2015-10-14 19:14:59 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-16 22:12:30 -0700 |
commit | 0b2ea2c7adf0abb528d277889f74243b537b1705 (patch) | |
tree | c25eb88afd4244597d1894c8639e8a41799ca2ca /drivers/staging/rtl8712/rtl871x_io.c | |
parent | 993c307eb48accf5fc34f703e6c290ddfc251b6e (diff) | |
download | op-kernel-dev-0b2ea2c7adf0abb528d277889f74243b537b1705.zip op-kernel-dev-0b2ea2c7adf0abb528d277889f74243b537b1705.tar.gz |
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 <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_io.c')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_io.c b/drivers/staging/rtl8712/rtl871x_io.c index e4e5b13c..fbbc635 100644 --- a/drivers/staging/rtl8712/rtl871x_io.c +++ b/drivers/staging/rtl8712/rtl871x_io.c @@ -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); |