diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-08-13 08:51:22 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-14 17:33:20 -0700 |
commit | c6f68f69416d0950965e5744489382ccebdc72b4 (patch) | |
tree | 98106fc6fa4667b493a47618cb86737acf5a0546 /tools/testing/selftests/net/lib/py/utils.py | |
parent | 34167f1a024d2c5abae0b0325a6d0b8257160f86 (diff) |
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