aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_context.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-10 08:11:35 -0400
committerDave Airlie <airlied@gmail.com>2013-07-23 05:20:18 -0400
commit492d774db34fd601b3db17218cf0ae262b51b5cf (patch)
tree8dd0a2af4be109e5d3fbb6153b9d9928f774e30a /drivers/gpu/drm/drm_context.c
parente13af9a8340685cfe25d0c9f708da7121e0f51dd (diff)
drm: remove drm_modctx ioctl and use drm_noop instead
It doesn't do anything, so kill the code. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/drm_context.c')
-rw-r--r--drivers/gpu/drm/drm_context.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/drm_context.c b/drivers/gpu/drm/drm_context.c
index 725968d38976..6f9731ff6a5b 100644
--- a/drivers/gpu/drm/drm_context.c
+++ b/drivers/gpu/drm/drm_context.c
@@ -342,12 +342,6 @@ int drm_addctx(struct drm_device *dev, void *data,
342 return 0; 342 return 0;
343} 343}
344 344
345int drm_modctx(struct drm_device *dev, void *data, struct drm_file *file_priv)
346{
347 /* This does nothing */
348 return 0;
349}
350
351/** 345/**
352 * Get context. 346 * Get context.
353 * 347 *