diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-07-10 16:11:40 +0400 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2013-07-23 13:20:23 +0400 |
commit | 5379dc042257cbf0fa2c54b4fa29d7077da35a25 (patch) | |
tree | 7cc9c31803e47438e562cacd455c91ea7f9f7378 /drivers/gpu/drm/radeon/radeon_kms.c | |
parent | c7e00b6d6a08772fac43b0fcea7fb48e6a1fe390 (diff) | |
download | linux-5379dc042257cbf0fa2c54b4fa29d7077da35a25.tar.xz |
drm/radoen: kill radeon_dma_ioctl_kms
No need to create a dummy ioctl function to return -EINVAL, since
that's what the core already does in the absence of the dma_ioctl
callback. So we can safely remove this.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_kms.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_kms.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index 49ff3d1a6102..07b023655bb4 100644 --- a/drivers/gpu/drm/radeon/radeon_kms.c +++ b/drivers/gpu/drm/radeon/radeon_kms.c @@ -683,16 +683,6 @@ int radeon_get_vblank_timestamp_kms(struct drm_device *dev, int crtc, drmcrtc); } -/* - * IOCTL. - */ -int radeon_dma_ioctl_kms(struct drm_device *dev, void *data, - struct drm_file *file_priv) -{ - /* Not valid in KMS. */ - return -EINVAL; -} - #define KMS_INVALID_IOCTL(name) \ int name(struct drm_device *dev, void *data, struct drm_file *file_priv)\ { \ |