diff options
| author | 2008-11-24 03:27:02 +0000 | |
|---|---|---|
| committer | 2008-11-24 03:27:02 +0000 | |
| commit | da99b78ce14e37c43b497e69142e36d660d60ff7 (patch) | |
| tree | 89d8f19d2a865c06bfbf4dd2ee00eb51b98a4c0e /sys/dev/pci/drm/drm_ioctl.c | |
| parent | In pmap_write_protect() clear and set the protection bits atomically and (diff) | |
| download | wireguard-openbsd-da99b78ce14e37c43b497e69142e36d660d60ff7.tar.xz wireguard-openbsd-da99b78ce14e37c43b497e69142e36d660d60ff7.zip | |
instead of functions that just return an error, just inline them into
the ioctl handler.
Diffstat (limited to 'sys/dev/pci/drm/drm_ioctl.c')
| -rw-r--r-- | sys/dev/pci/drm/drm_ioctl.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/dev/pci/drm/drm_ioctl.c b/sys/dev/pci/drm/drm_ioctl.c index 8d8bdf113e2..176d834223f 100644 --- a/sys/dev/pci/drm/drm_ioctl.c +++ b/sys/dev/pci/drm/drm_ioctl.c @@ -181,18 +181,6 @@ drm_getmap(struct drm_device *dev, void *data, struct drm_file *file_priv) return 0; } -int -drm_getclient(struct drm_device *dev, void *data, struct drm_file *file_priv) -{ - return (EINVAL); -} - -int -drm_getstats(struct drm_device *dev, void *data, struct drm_file *file_priv) -{ - return (EINVAL); -} - #define DRM_IF_MAJOR 1 #define DRM_IF_MINOR 2 @@ -237,11 +225,3 @@ drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv) return 0; } - - -int -drm_noop(struct drm_device *dev, void *data, struct drm_file *file_priv) -{ - DRM_DEBUG("\n"); - return 0; -} |
