On 13/08/2025 07:51, Dan Carpenter wrote: > 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@xxxxxxxxxx> > --- > drivers/nfc/pn533/pn533.c | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> Best regards, Krzysztof