aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-08-13 08:51:22 +0300
committerJakub Kicinski <kuba@kernel.org>2025-08-14 17:33:20 -0700
commitc6f68f69416d0950965e5744489382ccebdc72b4 (patch)
tree98106fc6fa4667b493a47618cb86737acf5a0546 /tools/testing/selftests/net/lib/py/utils.py
parentnet: phy: realtek: convert RTL8226-CG to c45 only (diff)
downloadlinux-c6f68f69416d0950965e5744489382ccebdc72b4.tar.gz
linux-c6f68f69416d0950965e5744489382ccebdc72b4.zip
nfc: pn533: Delete an unnecessary check
The "rc" variable is set like this: if (IS_ERR(resp)) { rc = PTR_ERR(resp); We know that "rc" is negative so there is no need to check. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/aJwn2ox5g9WsD2Vx@stanley.mountain Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions