Skip to content

Commit 9717c77

Browse files
jacob-kellerJeff Kirsher
authored andcommitted
fm10k: remove unnecessary extra parenthesis around ((~value))
Signed-off-by: Jacob Keller <[email protected]> Tested-by: Krishneil Singh <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 1ad7829 commit 9717c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/intel/fm10k/fm10k_pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static void fm10k_detach_subtask(struct fm10k_intfc *interface)
133133
/* check the real address space to see if we've recovered */
134134
hw_addr = READ_ONCE(interface->uc_addr);
135135
value = readl(hw_addr);
136-
if ((~value)) {
136+
if (~value) {
137137
interface->hw.hw_addr = interface->uc_addr;
138138
netif_device_attach(netdev);
139139
interface->flags |= FM10K_FLAG_RESET_REQUESTED;

0 commit comments

Comments
 (0)