mirror of https://gitee.com/openkylin/linux.git
fm10k: remove unnecessary extra parenthesis around ((~value))
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
1ad782928f
commit
9717c77213
|
@ -133,7 +133,7 @@ static void fm10k_detach_subtask(struct fm10k_intfc *interface)
|
|||
/* check the real address space to see if we've recovered */
|
||||
hw_addr = READ_ONCE(interface->uc_addr);
|
||||
value = readl(hw_addr);
|
||||
if ((~value)) {
|
||||
if (~value) {
|
||||
interface->hw.hw_addr = interface->uc_addr;
|
||||
netif_device_attach(netdev);
|
||||
interface->flags |= FM10K_FLAG_RESET_REQUESTED;
|
||||
|
|
Loading…
Reference in New Issue