linux/drivers/nfc/pn533
Dan Carpenter c6f68f6941 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>
2025-08-14 17:33:20 -07:00
..
Kconfig
Makefile
i2c.c nfc: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-20 19:28:31 -07:00
pn533.c nfc: pn533: Delete an unnecessary check 2025-08-14 17:33:20 -07:00
pn533.h
uart.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
usb.c nfc: pn533: Avoid -Wflex-array-member-not-at-end warnings 2024-08-21 17:15:43 -07:00