diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-05-05 13:19:01 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-05-05 13:19:01 +0000 |
commit | f66982a1398b3823f24bb6644040e05dfed43789 (patch) | |
tree | 50a01c41eb859b4b41a03d6bfc6adde8fa017994 | |
parent | 900c86559a9a839726af9d092b8a8fbb10ac309a (diff) |
Remove a supefluous check.
-rw-r--r-- | sys/dev/pci/drm/i915/i915_gem.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/drm/i915/i915_gem.c b/sys/dev/pci/drm/i915/i915_gem.c index a11aecb6341..edf1f16642e 100644 --- a/sys/dev/pci/drm/i915/i915_gem.c +++ b/sys/dev/pci/drm/i915/i915_gem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i915_gem.c,v 1.13 2013/05/05 13:02:46 kettenis Exp $ */ +/* $OpenBSD: i915_gem.c,v 1.14 2013/05/05 13:19:00 kettenis Exp $ */ /* * Copyright (c) 2008-2009 Owain G. Ainsworth <oga@openbsd.org> * @@ -2924,10 +2924,6 @@ i915_gem_idle(struct drm_device *dev) drm_i915_private_t *dev_priv = dev->dev_private; int ret; - /* If drm attach failed */ - if (dev == NULL) - return (0); - DRM_LOCK(); if (dev_priv->mm.suspended) { |