You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
@@ -245,8 +245,7 @@ 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);
|
||||
schedule_work(&fw_info->work);
|
||||
|
||||
fw_download_exit:
|
||||
mutex_unlock(&info->info_lock);
|
||||
|
||||
Reference in New Issue
Block a user