projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
993c307
)
Staging: rtl8712: rtl871x_io: Remove explicit cast
author
Shivani Bhardwaj
<
[email protected]
>
Wed, 14 Oct 2015 13:44:59 +0000
(19:14 +0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 17 Oct 2015 05:12:30 +0000
(22:12 -0700)
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]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/rtl8712/rtl871x_io.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8712/rtl871x_io.c
b/drivers/staging/rtl8712/rtl871x_io.c
index e4e5b13cb9279d4ad3e62adf8e8a3ea74a6185a9..fbbc63570eabc397223009cca5e64a2aa63c7643 100644
(file)
--- 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);