* [PATCH] drm/omap: remove global drm_device ptr
@ 2012-10-29 8:27 Rob Clark
0 siblings, 0 replies; only message in thread
From: Rob Clark @ 2012-10-29 8:27 UTC (permalink / raw)
To: dri-devel; +Cc: Greg KH, Tomi Valkeinen, Rob Clark, patches
From: Rob Clark <rob@ti.com>
Not actually used anymore.
Signed-off-by: Rob Clark <rob@ti.com>
---
drivers/staging/omapdrm/omap_drv.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/omapdrm/omap_drv.c b/drivers/staging/omapdrm/omap_drv.c
index a004b9f..c27d091 100644
--- a/drivers/staging/omapdrm/omap_drv.c
+++ b/drivers/staging/omapdrm/omap_drv.c
@@ -31,8 +31,6 @@
#define DRIVER_MINOR 0
#define DRIVER_PATCHLEVEL 0
-struct drm_device *drm_device;
-
static int num_crtc = CONFIG_DRM_OMAP_NUM_CRTCS;
MODULE_PARM_DESC(num_crtc, "Number of overlays to use as CRTCs");
@@ -423,8 +421,6 @@ static int dev_load(struct drm_device *dev, unsigned long flags)
DBG("load: dev=%p", dev);
- drm_device = dev;
-
priv = kzalloc(sizeof(*priv), GFP_KERNEL);
if (!priv) {
dev_err(dev->dev, "could not allocate priv\n");
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-29 8:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29 8:27 [PATCH] drm/omap: remove global drm_device ptr Rob Clark
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).