mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 22:22:51 -04:00
drm/rockchip: remove redundant statement
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user