* [PATCH 1/1] imx-drm: imx-drm-core: fix the build warning
@ 2014-02-19 5:28 Peter Chen
2014-02-19 6:58 ` Lothar Waßmann
0 siblings, 1 reply; 2+ messages in thread
From: Peter Chen @ 2014-02-19 5:28 UTC (permalink / raw)
To: linux-arm-kernel
/home/b29397/work/projects/upstream/usb/usb/drivers/staging/imx-drm/imx-drm-core.c: In function 'imx_drm_driver_unload':
/home/b29397/work/projects/upstream/usb/usb/drivers/staging/imx-drm/imx-drm-core.c:87:25: warning: unused variable 'imxdrm' [-Wunused-variable]
Signed-off-by: Peter Chen <peter.chen@freescale.com>
---
drivers/staging/imx-drm/imx-drm-core.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/imx-drm/imx-drm-core.c b/drivers/staging/imx-drm/imx-drm-core.c
index 236ed66..573fe88 100644
--- a/drivers/staging/imx-drm/imx-drm-core.c
+++ b/drivers/staging/imx-drm/imx-drm-core.c
@@ -84,8 +84,6 @@ static void imx_drm_driver_lastclose(struct drm_device *drm)
static int imx_drm_driver_unload(struct drm_device *drm)
{
- struct imx_drm_device *imxdrm = drm->dev_private;
-
imx_drm_device_put();
drm_vblank_cleanup(drm);
--
1.7.8
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH 1/1] imx-drm: imx-drm-core: fix the build warning
2014-02-19 5:28 [PATCH 1/1] imx-drm: imx-drm-core: fix the build warning Peter Chen
@ 2014-02-19 6:58 ` Lothar Waßmann
0 siblings, 0 replies; 2+ messages in thread
From: Lothar Waßmann @ 2014-02-19 6:58 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
Peter Chen wrote:
> /home/b29397/work/projects/upstream/usb/usb/drivers/staging/imx-drm/imx-drm-core.c: In function 'imx_drm_driver_unload':
> /home/b29397/work/projects/upstream/usb/usb/drivers/staging/imx-drm/imx-drm-core.c:87:25: warning: unused variable 'imxdrm' [-Wunused-variable]
>
> Signed-off-by: Peter Chen <peter.chen@freescale.com>
> ---
> drivers/staging/imx-drm/imx-drm-core.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/imx-drm/imx-drm-core.c b/drivers/staging/imx-drm/imx-drm-core.c
> index 236ed66..573fe88 100644
> --- a/drivers/staging/imx-drm/imx-drm-core.c
> +++ b/drivers/staging/imx-drm/imx-drm-core.c
> @@ -84,8 +84,6 @@ static void imx_drm_driver_lastclose(struct drm_device *drm)
>
> static int imx_drm_driver_unload(struct drm_device *drm)
> {
> - struct imx_drm_device *imxdrm = drm->dev_private;
> -
> imx_drm_device_put();
>
> drm_vblank_cleanup(drm);
>
You obviously missed: <20140210102906.GP26684@n2100.arm.linux.org.uk>
Lothar Wa?mann
--
___________________________________________________________
Ka-Ro electronics GmbH | Pascalstra?e 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Gesch?ftsf?hrer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996
www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-19 6:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-19 5:28 [PATCH 1/1] imx-drm: imx-drm-core: fix the build warning Peter Chen
2014-02-19 6:58 ` Lothar Waßmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox