Commit bcd705a0 authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Alex Deucher

gpu: drm: radeon: radeon_object: Remove unused function

Remove the function radeon_bo_fbdev_mmap() that is not used anywhere.

This was partially found by using a static code analysis program called cppcheck.
Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 089e746b
...@@ -576,12 +576,6 @@ int radeon_bo_list_validate(struct radeon_device *rdev, ...@@ -576,12 +576,6 @@ int radeon_bo_list_validate(struct radeon_device *rdev,
return 0; return 0;
} }
int radeon_bo_fbdev_mmap(struct radeon_bo *bo,
struct vm_area_struct *vma)
{
return ttm_fbdev_mmap(vma, &bo->tbo);
}
int radeon_bo_get_surface_reg(struct radeon_bo *bo) int radeon_bo_get_surface_reg(struct radeon_bo *bo)
{ {
struct radeon_device *rdev = bo->rdev; struct radeon_device *rdev = bo->rdev;
......
...@@ -143,8 +143,6 @@ extern void radeon_bo_fini(struct radeon_device *rdev); ...@@ -143,8 +143,6 @@ extern void radeon_bo_fini(struct radeon_device *rdev);
extern int radeon_bo_list_validate(struct radeon_device *rdev, extern int radeon_bo_list_validate(struct radeon_device *rdev,
struct ww_acquire_ctx *ticket, struct ww_acquire_ctx *ticket,
struct list_head *head, int ring); struct list_head *head, int ring);
extern int radeon_bo_fbdev_mmap(struct radeon_bo *bo,
struct vm_area_struct *vma);
extern int radeon_bo_set_tiling_flags(struct radeon_bo *bo, extern int radeon_bo_set_tiling_flags(struct radeon_bo *bo,
u32 tiling_flags, u32 pitch); u32 tiling_flags, u32 pitch);
extern void radeon_bo_get_tiling_flags(struct radeon_bo *bo, extern void radeon_bo_get_tiling_flags(struct radeon_bo *bo,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment