mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
sahara: Avoid closing invalid fd
In the event that no ramdump_path is provided to sahara_run() the ramdump_dir will remain -1. For good hygiene avoid calling close() on this invalid file descriptor. Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
This commit is contained in:
committed by
Bjorn Andersson
parent
8adc9f3192
commit
aa44721fe8