mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
staging: rtl8188eu: remove unnecessary brackets
ESHUTDOWN is just a number, it needs no brackets. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210407170531.29356-2-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
46694b686d
commit
5c422a42d1
|
|
@ -267,7 +267,7 @@ usbctrl_vendorreq(struct adapter *adapt, u16 value, void *pdata, u16 len, u8 req
|
|||
len, status, *(u32 *)pdata, vendorreq_times);
|
||||
|
||||
if (status < 0) {
|
||||
if (status == (-ESHUTDOWN) || status == -ENODEV)
|
||||
if (status == -ESHUTDOWN || status == -ENODEV)
|
||||
adapt->bSurpriseRemoved = true;
|
||||
else
|
||||
adapt->HalData->srestpriv.wifi_error_status = USB_VEN_REQ_CMD_FAIL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user