diff options
author | Bernard Zhao <bernard@vivo.com> | 2020-08-14 11:30:19 +0300 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-10-17 11:10:24 +0300 |
commit | 14212fe77ef6f9b0ec61f9ad946dea90a22496ec (patch) | |
tree | b98f2542c741140a85ecc20d559ed5be897c338c /drivers/gpu/drm/hisilicon/hibmc | |
parent | 77bb5aaf2bb8180e7d1bb70b4df306f511707a7d (diff) | |
download | linux-14212fe77ef6f9b0ec61f9ad946dea90a22496ec.tar.xz |
drm/via: reduce no need mutex_lock area
In function via_mem_alloc`s error branch, DRM_ERROR is protected
in the mutex_lock(&dev->struct_mutex) area.
>From the code, we see that DRM_ERROR is just an error log print
without any struct element, there is no need to protect this.
Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200814083021.8962-1-bernard@vivo.com
Diffstat (limited to 'drivers/gpu/drm/hisilicon/hibmc')
0 files changed, 0 insertions, 0 deletions