diff --git a/drivers/video/rockchip/mpp/mpp_iommu.c b/drivers/video/rockchip/mpp/mpp_iommu.c index b9f10cd0c689..1ff83c1a8eb5 100644 --- a/drivers/video/rockchip/mpp/mpp_iommu.c +++ b/drivers/video/rockchip/mpp/mpp_iommu.c @@ -12,7 +12,7 @@ #include #endif #include -#include +#include #include #include #include @@ -233,8 +233,6 @@ struct mpp_dma_buffer *mpp_dma_import_fd(struct mpp_iommu_info *iommu_info, buffer->dma = dma; kref_init(&buffer->ref); - /* Increase the reference for used outside the buffer pool */ - kref_get(&buffer->ref); mutex_lock(&dma->list_mutex); dma->buffer_count++;