mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
qcacld-3.0: Fix static code analysis issues in DP
arg is reference before null check, move below Change-Id: I5d815647b3968f93e2a86871711eb13f29cbd2f3 CRs-Fixed: 2752441
This commit is contained in:
parent
dfcf932953
commit
914dee63f1
1 changed files with 2 additions and 2 deletions
|
|
@ -517,13 +517,13 @@ static int dp_rx_thread_loop(void *arg)
|
|||
int status;
|
||||
struct dp_rx_tm_handle_cmn *tm_handle_cmn;
|
||||
|
||||
tm_handle_cmn = rx_thread->rtm_handle_cmn;
|
||||
|
||||
if (!arg) {
|
||||
dp_err("bad Args passed");
|
||||
return 0;
|
||||
}
|
||||
|
||||
tm_handle_cmn = rx_thread->rtm_handle_cmn;
|
||||
|
||||
qdf_set_user_nice(qdf_get_current_task(), -1);
|
||||
qdf_set_wake_up_idle(true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue