diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-01-09 00:32:02 -0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 13:19:55 -0800 |
commit | 4ee723a96f9313d67e88c7a9d3ae6162d2308f2d (patch) | |
tree | 37fa5487abe684e4423e46bf29c95e3bcb5913a9 /drivers/staging/imx-drm | |
parent | c6b7ae5550fe2d4090628c366a2d3fba2d3c4293 (diff) | |
download | op-kernel-dev-4ee723a96f9313d67e88c7a9d3ae6162d2308f2d.zip op-kernel-dev-4ee723a96f9313d67e88c7a9d3ae6162d2308f2d.tar.gz |
staging: imx-drm: ipu-common: Remove unused variable
Fix the following warning when building with W=1 option:
drivers/staging/imx-drm/ipu-v3/ipu-common.c: In function 'ipu_remove':
drivers/staging/imx-drm/ipu-v3/ipu-common.c:1145:19: warning: variable 'res' set but not used [-Wunused-but-set-variable]
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/imx-drm')
-rw-r--r-- | drivers/staging/imx-drm/ipu-v3/ipu-common.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-common.c b/drivers/staging/imx-drm/ipu-v3/ipu-common.c index f7059cd..366f259 100644 --- a/drivers/staging/imx-drm/ipu-v3/ipu-common.c +++ b/drivers/staging/imx-drm/ipu-v3/ipu-common.c @@ -1142,9 +1142,6 @@ failed_ioremap: static int ipu_remove(struct platform_device *pdev) { struct ipu_soc *ipu = platform_get_drvdata(pdev); - struct resource *res; - - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); platform_device_unregister_children(pdev); ipu_submodules_exit(ipu); |