mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-03 18:20:25 +02:00 
			
		
		
		
	drm/imagination: Removed unused function to_pvr_vm_gpuva()
This function is now unused, hence it causes a compiler warning.
   drivers/gpu/drm/imagination/pvr_vm.c:112:22: warning: unused function 'to_pvr_vm_gpuva' [-Wunused-function]
     112 | struct pvr_vm_gpuva *to_pvr_vm_gpuva(struct drm_gpuva *gpuva)
         |                      ^
Remove the function for now.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311242159.hh8MWiAm-lkp@intel.com/
Fixes: ff5f643de0 ("drm/imagination: Add GEM and VM related code")
Signed-off-by: Donald Robson <donald.robson@imgtec.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231130160017.259902-5-donald.robson@imgtec.com
			
			
This commit is contained in:
		
							parent
							
								
									e8878b8043
								
							
						
					
					
						commit
						72ef65ab24
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
					@ -114,12 +114,6 @@ struct pvr_vm_gpuva {
 | 
				
			||||||
	struct drm_gpuva base;
 | 
						struct drm_gpuva base;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static __always_inline
 | 
					 | 
				
			||||||
struct pvr_vm_gpuva *to_pvr_vm_gpuva(struct drm_gpuva *gpuva)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
	return container_of(gpuva, struct pvr_vm_gpuva, base);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
enum pvr_vm_bind_type {
 | 
					enum pvr_vm_bind_type {
 | 
				
			||||||
	PVR_VM_BIND_TYPE_MAP,
 | 
						PVR_VM_BIND_TYPE_MAP,
 | 
				
			||||||
	PVR_VM_BIND_TYPE_UNMAP,
 | 
						PVR_VM_BIND_TYPE_UNMAP,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue