drm/i915: drop the i915.fbpercrtc module parameter
authorJani Nikula <jani.nikula@intel.com>
Tue, 21 Jan 2014 09:24:24 +0000 (11:24 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Jan 2014 16:22:54 +0000 (17:22 +0100)
It's unused, and nowadays specifying unknown parameters no longer
prevents modules from being loaded.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h

index 56e5ebbf322fccae79463160c724167cd4fcb137..c46e0a1fb68ed06693f13f2bff97a2296ed11b46 100644 (file)
@@ -44,9 +44,6 @@ MODULE_PARM_DESC(modeset,
                "Use kernel modesetting [KMS] (0=DRM_I915_KMS from .config, "
                "1=on, -1=force vga console preference [default])");
 
-unsigned int i915_fbpercrtc __always_unused = 0;
-module_param_named(fbpercrtc, i915_fbpercrtc, int, 0400);
-
 int i915_panel_ignore_lid __read_mostly = 1;
 module_param_named(panel_ignore_lid, i915_panel_ignore_lid, int, 0600);
 MODULE_PARM_DESC(panel_ignore_lid,
index 7d144e4bacbbe0ca9a77e7fc5554485ab0154663..006a11c660280f39e33aa57503d8c66c6b2c58b7 100644 (file)
@@ -1876,7 +1876,6 @@ struct drm_i915_file_private {
 
 extern const struct drm_ioctl_desc i915_ioctls[];
 extern int i915_max_ioctl;
-extern unsigned int i915_fbpercrtc __always_unused;
 extern int i915_panel_ignore_lid __read_mostly;
 extern unsigned int i915_powersave __read_mostly;
 extern int i915_semaphores __read_mostly;