drm: remove drm_modctx ioctl and use drm_noop instead
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / drm_context.c
index 725968d38976839a962a483eb0ca4477f1d55e7c..6f9731ff6a5be75473d52be8dd75ad156ad13494 100644 (file)
@@ -342,12 +342,6 @@ int drm_addctx(struct drm_device *dev, void *data,
        return 0;
 }
 
-int drm_modctx(struct drm_device *dev, void *data, struct drm_file *file_priv)
-{
-       /* This does nothing */
-       return 0;
-}
-
 /**
  * Get context.
  *