Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bae7ec65 authored by Eric Anholt's avatar Eric Anholt Committed by Dave Airlie
Browse files

drm/i915: Delete unused, pointless i915_driver_firstopen.



Thanks to Hannes Eder for pointing out that this code was dead according to
sparse.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent d4da3af6
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1006,14 +1006,6 @@ void i915_master_destroy(struct drm_device *dev, struct drm_master *master)
	master->driver_priv = NULL;
}


static int i915_driver_firstopen(struct drm_device *dev)
{
	if (drm_core_check_feature(dev, DRIVER_MODESET))
		return 0;
	return 0;
}

/**
 * i915_driver_load - setup chip and create an initial config
 * @dev: DRM device