Commit 9717c772 authored by Jacob Keller's avatar Jacob Keller Committed by Jeff Kirsher

fm10k: remove unnecessary extra parenthesis around ((~value))

Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Tested-by: default avatarKrishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 1ad78292
...@@ -133,7 +133,7 @@ static void fm10k_detach_subtask(struct fm10k_intfc *interface) ...@@ -133,7 +133,7 @@ static void fm10k_detach_subtask(struct fm10k_intfc *interface)
/* check the real address space to see if we've recovered */ /* check the real address space to see if we've recovered */
hw_addr = READ_ONCE(interface->uc_addr); hw_addr = READ_ONCE(interface->uc_addr);
value = readl(hw_addr); value = readl(hw_addr);
if ((~value)) { if (~value) {
interface->hw.hw_addr = interface->uc_addr; interface->hw.hw_addr = interface->uc_addr;
netif_device_attach(netdev); netif_device_attach(netdev);
interface->flags |= FM10K_FLAG_RESET_REQUESTED; interface->flags |= FM10K_FLAG_RESET_REQUESTED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment