Commit 0731c65a authored by Daniel Vetter's avatar Daniel Vetter

drm: Remove dummy agp ioctl wrappers

They're only used in the drm ioctl table, and there they're excluded
when AGP support is disabled. So this is just dead code ripe for
removal.
Reviewed-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent 87698c8a
...@@ -102,95 +102,47 @@ static inline int drm_agp_acquire(struct drm_device *dev) ...@@ -102,95 +102,47 @@ static inline int drm_agp_acquire(struct drm_device *dev)
return -ENODEV; return -ENODEV;
} }
static inline int drm_agp_acquire_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
return -ENODEV;
}
static inline int drm_agp_release(struct drm_device *dev) static inline int drm_agp_release(struct drm_device *dev)
{ {
return -ENODEV; return -ENODEV;
} }
static inline int drm_agp_release_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
return -ENODEV;
}
static inline int drm_agp_enable(struct drm_device *dev, static inline int drm_agp_enable(struct drm_device *dev,
struct drm_agp_mode mode) struct drm_agp_mode mode)
{ {
return -ENODEV; return -ENODEV;
} }
static inline int drm_agp_enable_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
return -ENODEV;
}
static inline int drm_agp_info(struct drm_device *dev, static inline int drm_agp_info(struct drm_device *dev,
struct drm_agp_info *info) struct drm_agp_info *info)
{ {
return -ENODEV; return -ENODEV;
} }
static inline int drm_agp_info_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
return -ENODEV;
}
static inline int drm_agp_alloc(struct drm_device *dev, static inline int drm_agp_alloc(struct drm_device *dev,
struct drm_agp_buffer *request) struct drm_agp_buffer *request)
{ {
return -ENODEV; return -ENODEV;
} }
static inline int drm_agp_alloc_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
return -ENODEV;
}
static inline int drm_agp_free(struct drm_device *dev, static inline int drm_agp_free(struct drm_device *dev,
struct drm_agp_buffer *request) struct drm_agp_buffer *request)
{ {
return -ENODEV; return -ENODEV;
} }
static inline int drm_agp_free_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
return -ENODEV;
}
static inline int drm_agp_unbind(struct drm_device *dev, static inline int drm_agp_unbind(struct drm_device *dev,
struct drm_agp_binding *request) struct drm_agp_binding *request)
{ {
return -ENODEV; return -ENODEV;
} }
static inline int drm_agp_unbind_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
return -ENODEV;
}
static inline int drm_agp_bind(struct drm_device *dev, static inline int drm_agp_bind(struct drm_device *dev,
struct drm_agp_binding *request) struct drm_agp_binding *request)
{ {
return -ENODEV; return -ENODEV;
} }
static inline int drm_agp_bind_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
return -ENODEV;
}
#endif /* CONFIG_AGP */ #endif /* CONFIG_AGP */
#endif /* _DRM_AGPSUPPORT_H_ */ #endif /* _DRM_AGPSUPPORT_H_ */
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