lkml.org 
[lkml]   [2017]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Outreachy kernel] [PATCH 5/5] staging: rtl8712: Remove unnecessary cast on void pointer
> @@ -635,7 +635,7 @@ void r8712_reordering_ctrl_timeout_handler(void *pcontext)
> {
> unsigned long irql;
> struct recv_reorder_ctrl *preorder_ctrl =
> - (struct recv_reorder_ctrl *)pcontext;
> + pcontext;

Coccinelle doesn't always generate code in the best way. pcontext can be
moved up to the previous line in this case.

julia

\
 
 \ /
  Last update: 2017-03-02 23:02    [W:0.083 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site