Skip to content
Commit 165f8e82 authored by Jean Sacren's avatar Jean Sacren Committed by Jakub Kicinski
Browse files

net: qed_ptp: fix check of true !rc expression



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

We should also use constant 0 for return.

Signed-off-by: default avatarJean Sacren <sakiwit@gmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e43b76ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment