lkml.org 
[lkml]   [2021]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectstaging: rtl8712: dead code on flush_signals_thread call in r8712_cmd_thread()
Date
Hi,

Static analysis by Coverity has detected a call to
flush_signals_thread() that is never executed. If it is removed it
won't affect the current behavior, however I'm pretty sure the call was
intentionally placed in the code at the end of a while loop so I believe
there is something a little dubious with the current code.

The analysis by Coverity is as follows:

384 goto _next;
385 }

Structurally dead code (UNREACHABLE)
unreachable: This code cannot be reached: flush_signals_thread();.

386 flush_signals_thread();
387 }

Any ideas?

Colin

\
 
 \ /
  Last update: 2021-07-02 15:04    [W:0.029 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site