提交 f9de4a30 编写于 作者: S Sachin Kamat 提交者: Greg Kroah-Hartman

staging: rtl8723au: Remove redundant casting in usb_ops_linux.c

Casting value returned by k[cmz]alloc is useless.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 2e69759c
......@@ -382,8 +382,7 @@ static void usb_read_interrupt_complete(struct urb *purb)
struct evt_work *c2w;
int res;
c2w = (struct evt_work *)
kmalloc(sizeof(struct evt_work),
c2w = kmalloc(sizeof(struct evt_work),
GFP_ATOMIC);
if (!c2w) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册