net: qed_dev: fix check of true !rc expression
authorJean Sacren <sakiwit@gmail.com>
Sat, 23 Oct 2021 09:26:15 +0000 (03:26 -0600)
committerJakub Kicinski <kuba@kernel.org>
Tue, 26 Oct 2021 02:11:13 +0000 (19:11 -0700)
commit036f590fe5720d964a45533ed04aa3d09c267003
tree5d86b1a9be35b2c3f60b639b72c3c8dcd1d0f32a
parent165f8e82c2f1fee914f43d5288f8bd08c7e0f69e
net: qed_dev: fix check of true !rc expression

Remove the check of !rc in (!rc && !resc_lock_params.b_granted) since it
is always true.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/qlogic/qed/qed_dev.c