mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
net: libwx: Fix dead code for duplicate check
Fix duplicate check on polling timeout.
Fixes: 1efa9bfe58
("net: libwx: Implement interaction with firmware")
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0dc33c6583
commit
0b6ffefbb0
@ -203,8 +203,6 @@ int wx_host_interface_command(struct wx_hw *wxhw, u32 *buffer,
|
||||
|
||||
status = read_poll_timeout(rd32, hicr, hicr & WX_MNG_MBOX_CTL_FWRDY, 1000,
|
||||
timeout * 1000, false, wxhw, WX_MNG_MBOX_CTL);
|
||||
if (status)
|
||||
goto rel_out;
|
||||
|
||||
/* Check command completion */
|
||||
if (status) {
|
||||
|
Loading…
Reference in New Issue
Block a user