projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89359b
)
drm/rockchip: remove redundant statement
author
John Keeping
<john@metanate.com>
Tue, 5 Apr 2016 13:50:31 +0000
(14:50 +0100)
committer
Mark Yao
<mark.yao@rock-chips.com>
Tue, 3 May 2016 06:11:22 +0000
(14:11 +0800)
The call to arm_iommu_detach_device() on the previous line sets
dev->archdata.mapping to NULL so this call is always a no-op.
Signed-off-by: John Keeping <john@metanate.com>
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
index f556a8f4fde6c7f2e6f36708b07a2d1de4d13118..7695c791ad952a086db1fd32fdce992617c3f9ab 100644
(file)
--- a/
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
+++ b/
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
@@
-244,7
+244,6
@@
static int rockchip_drm_unload(struct drm_device *drm_dev)
drm_kms_helper_poll_fini(drm_dev);
component_unbind_all(dev, drm_dev);
arm_iommu_detach_device(dev);
- arm_iommu_release_mapping(dev->archdata.mapping);
drm_mode_config_cleanup(drm_dev);
drm_dev->dev_private = NULL;