All of lore.kernel.org
 help / color / mirror / Atom feed
From: Inki Dae <inki.dae@samsung.com>
To: airlied@linux.ie, dri-devel@lists.freedesktop.org
Cc: Inki Dae <inki.dae@samsung.com>,
	kyungmin.park@samsung.com, sw0312.kim@samsung.com
Subject: [PATCH 09/10] drm/exynos: removed unnecessary variable
Date: Wed, 27 Jun 2012 17:03:11 +0900	[thread overview]
Message-ID: <1340784192-21352-10-git-send-email-inki.dae@samsung.com> (raw)
In-Reply-To: <1340784192-21352-1-git-send-email-inki.dae@samsung.com>

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 drivers/gpu/drm/exynos/exynos_drm_core.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/exynos/exynos_drm_core.c b/drivers/gpu/drm/exynos/exynos_drm_core.c
index eaf630d..84dd099 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_core.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_core.c
@@ -33,7 +33,6 @@
 #include "exynos_drm_fbdev.h"
 
 static LIST_HEAD(exynos_drm_subdrv_list);
-static struct drm_device *drm_dev;
 
 static int exynos_drm_subdrv_probe(struct drm_device *dev,
 					struct exynos_drm_subdrv *subdrv)
@@ -120,8 +119,6 @@ int exynos_drm_device_register(struct drm_device *dev)
 	if (!dev)
 		return -EINVAL;
 
-	drm_dev = dev;
-
 	list_for_each_entry_safe(subdrv, n, &exynos_drm_subdrv_list, list) {
 		subdrv->drm_dev = dev;
 		err = exynos_drm_subdrv_probe(dev, subdrv);
@@ -149,8 +146,6 @@ int exynos_drm_device_unregister(struct drm_device *dev)
 	list_for_each_entry(subdrv, &exynos_drm_subdrv_list, list)
 		exynos_drm_subdrv_remove(dev, subdrv);
 
-	drm_dev = NULL;
-
 	return 0;
 }
 EXPORT_SYMBOL_GPL(exynos_drm_device_unregister);
-- 
1.7.4.1

  parent reply	other threads:[~2012-06-27  8:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27  8:03 [PATCH 00/10] drm/exynos: fix vidi driver and gem module Inki Dae
2012-06-27  8:03 ` [PATCH 01/10] drm/exynos: removed unnecessary declaration Inki Dae
2012-06-27  8:03 ` [PATCH 02/10] drm/exynos: set edid fake data only for test Inki Dae
2012-06-27  8:03 ` [PATCH 03/10] drm/exynos: check if raw edid data is fake or not " Inki Dae
2012-06-27  8:03 ` [PATCH 04/10] drm/exynos: fixed edid data setting at vidi connection request Inki Dae
2012-06-27  8:03 ` [PATCH 05/10] drm/exynos: fixed build warning Inki Dae
2012-06-27  8:03 ` [PATCH 06/10] drm/exynos: use alloc_page() to allocate pages Inki Dae
2012-06-27  8:03 ` [PATCH 07/10] drm/exynos: set buffer type from exporter Inki Dae
2012-06-27  8:03 ` [PATCH 08/10] drm/exynos: do not release memory region " Inki Dae
2012-06-27  8:03 ` Inki Dae [this message]
2012-06-27  8:03 ` [PATCH 10/10] drm/exynos: consider memory releasing to exported gem buffer into dmabuf Inki Dae
2012-06-27 12:20   ` Rob Clark
2012-06-27 12:44     ` Inki Dae
2012-06-27 12:54       ` Daniel Vetter
2012-06-27 13:31         ` Inki Dae

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1340784192-21352-10-git-send-email-inki.dae@samsung.com \
    --to=inki.dae@samsung.com \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kyungmin.park@samsung.com \
    --cc=sw0312.kim@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.