NFC: nxp-nxi: Remove useless fw pointer check
It request_firmware returns 0, the request succeeded and the
firmware pointer is valid. No need to check for it.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
diff --git a/drivers/nfc/nxp-nci/firmware.c b/drivers/nfc/nxp-nci/firmware.c
index 08573f9..74f9820 100644
--- a/drivers/nfc/nxp-nci/firmware.c
+++ b/drivers/nfc/nxp-nci/firmware.c
@@ -245,8 +245,7 @@
fw_info->frame_size = 0;
fw_info->cmd_result = 0;
- if (fw_info->fw)
- schedule_work(&fw_info->work);
+ schedule_work(&fw_info->work);
fw_download_exit:
mutex_unlock(&info->info_lock);