staging: rtl8723au: Don't wrap kill_pid() in an unnecessary macro
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
810c832f5d
commit
ce16d2f189
|
@ -76,7 +76,7 @@ static void dm_CheckPbcGPIO(struct rtw_adapter *padapter)
|
|||
return;
|
||||
}
|
||||
|
||||
rtw_signal_process(padapter->pid[0], SIGUSR1);
|
||||
kill_pid(find_vpid(padapter->pid[0]), SIGUSR1, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -174,8 +174,6 @@ void rtw_unlock_suspend(void);
|
|||
#define FUNC_ADPT_FMT "%s(%s)"
|
||||
#define FUNC_ADPT_ARG(adapter) __func__, adapter->pnetdev->name
|
||||
|
||||
#define rtw_signal_process(pid, sig) kill_pid(find_vpid((pid)),(sig), 1)
|
||||
|
||||
u64 rtw_modular6423a(u64 x, u64 y);
|
||||
u64 rtw_division6423a(u64 x, u64 y);
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ void rtw_os_indicate_connect23a(struct rtw_adapter *adapter)
|
|||
netif_carrier_on(adapter->pnetdev);
|
||||
|
||||
if (adapter->pid[2] != 0)
|
||||
rtw_signal_process(adapter->pid[2], SIGALRM);
|
||||
kill_pid(find_vpid(adapter->pid[2]), SIGALRM, 1);
|
||||
}
|
||||
|
||||
static struct rt_pmkid_list backupPMKIDList[NUM_PMKID_CACHE];
|
||||
|
|
|
@ -566,7 +566,7 @@ int rtw_resume_process23a(struct rtw_adapter *padapter)
|
|||
|
||||
if (padapter->pid[1] != 0) {
|
||||
DBG_8723A("pid[1]:%d\n", padapter->pid[1]);
|
||||
rtw_signal_process(padapter->pid[1], SIGUSR2);
|
||||
kill_pid(find_vpid(padapter->pid[1]), SIGUSR2, 1);
|
||||
}
|
||||
|
||||
rtw23a_roaming(padapter, NULL);
|
||||
|
|
Loading…
Reference in a new issue