Commit 2b591257 authored by Samuel Ortiz's avatar Samuel Ortiz

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: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 9dbe7763
......@@ -245,7 +245,6 @@ int nxp_nci_fw_download(struct nci_dev *ndev, const char *firmware_name)
fw_info->frame_size = 0;
fw_info->cmd_result = 0;
if (fw_info->fw)
schedule_work(&fw_info->work);
fw_download_exit:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment