Merge "msm: mdss: avoid possible infinite loop on kmalloc failure"

This commit is contained in:
Linux Build Service Account 2017-01-05 02:09:03 -08:00 committed by Gerrit - the friendly Code Review server
commit 3ef2b6c93c

View file

@ -1394,7 +1394,6 @@ exit:
ret = -EFAULT;
kfree(cfg_payload);
cfg_payload = NULL;
goto exit;
}
pp_info->igc_cfg.cfg_payload = cfg_payload;
return ret;