commit | a65def5bab70b705bda32708aad4b7a9499e324e | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Sat Jan 15 17:25:00 2022 -0500 |
committer | Sean Anderson <seanga2@gmail.com> | Wed Mar 30 13:02:55 2022 -0400 |
tree | e996e7c3fe0ce63ae9c555760e62331849629847 | |
parent | 9ed43ef70d457bedf7189950b092587b476f2191 [diff] [blame] |
net: bcm63xx: Don't check clk_free This function always succeeds, so don't check its return value. Signed-off-by: Sean Anderson <seanga2@gmail.com> Link: https://lore.kernel.org/r/20220115222504.617013-4-seanga2@gmail.com
diff --git a/drivers/net/bcm6368-eth.c b/drivers/net/bcm6368-eth.c index 29abe7f..c2a8b9f 100644 --- a/drivers/net/bcm6368-eth.c +++ b/drivers/net/bcm6368-eth.c
@@ -546,11 +546,7 @@ return ret; } - ret = clk_free(&clk); - if (ret < 0) { - pr_err("%s: error freeing clock %d\n", __func__, i); - return ret; - } + clk_free(&clk); } /* try to perform resets */