summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/dsi/dsi.h
diff options
context:
space:
mode:
authorMarkus Elfring2015-06-27 22:23:28 +0200
committerRob Clark2015-08-16 00:27:17 +0200
commitda882cd1ee132ecbb4a4848a6b0797ea2ed4bee7 (patch)
tree274cf9977448f1ead814f598338011617149c11f /drivers/gpu/drm/msm/dsi/dsi.h
parentdrm/msm/dsi: Delete an unnecessary check before the function call "dsi_destroy" (diff)
downloadkernel-qcow2-linux-da882cd1ee132ecbb4a4848a6b0797ea2ed4bee7.tar.gz
kernel-qcow2-linux-da882cd1ee132ecbb4a4848a6b0797ea2ed4bee7.tar.xz
kernel-qcow2-linux-da882cd1ee132ecbb4a4848a6b0797ea2ed4bee7.zip
drm/msm/dsi: One function call less in dsi_init() after error detection
The dsi_destroy() function was called in two cases by the dsi_init() function during error handling even if the passed variable contained a null pointer. * This implementation detail could be improved by adjustments for jump targets according to the Linux coding style convention. * Drop an unnecessary initialisation for the variable "msm_dsi" then. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> [add couple missing ERR_PTR()'s] Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi.h')
0 files changed, 0 insertions, 0 deletions