Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9de4a30 authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723au: Remove redundant casting in usb_ops_linux.c



Casting value returned by k[cmz]alloc is useless.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2e69759c
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -382,8 +382,7 @@ static void usb_read_interrupt_complete(struct urb *purb)
				struct evt_work *c2w;
				struct evt_work *c2w;
				int res;
				int res;


				c2w = (struct evt_work *)
				c2w = kmalloc(sizeof(struct evt_work),
					kmalloc(sizeof(struct evt_work),
						GFP_ATOMIC);
						GFP_ATOMIC);


				if (!c2w) {
				if (!c2w) {