[PATCH 1/1] memory: tegra{20,30}-mc: Remove empty *_remove()

From: Hiroshi DOYU
Date: Mon May 14 2012 - 12:20:24 EST


Remove unnecessary empty functions.

Signed-off-by: Hiroshi DOYU <hdoyu@xxxxxxxxxx>
---
drivers/memory/tegra20-mc.c | 6 ------
drivers/memory/tegra30-mc.c | 6 ------
2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/drivers/memory/tegra20-mc.c b/drivers/memory/tegra20-mc.c
index a38d9d3..3ed49c1 100644
--- a/drivers/memory/tegra20-mc.c
+++ b/drivers/memory/tegra20-mc.c
@@ -241,14 +241,8 @@ static int __devinit tegra20_mc_probe(struct platform_device *pdev)
return 0;
}

-static int __devexit tegra20_mc_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
static struct platform_driver tegra20_mc_driver = {
.probe = tegra20_mc_probe,
- .remove = __devexit_p(tegra20_mc_remove),
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
diff --git a/drivers/memory/tegra30-mc.c b/drivers/memory/tegra30-mc.c
index cb639b1..e56ff04 100644
--- a/drivers/memory/tegra30-mc.c
+++ b/drivers/memory/tegra30-mc.c
@@ -365,14 +365,8 @@ static int __devinit tegra30_mc_probe(struct platform_device *pdev)
return 0;
}

-static int __devexit tegra30_mc_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
static struct platform_driver tegra30_mc_driver = {
.probe = tegra30_mc_probe,
- .remove = __devexit_p(tegra30_mc_remove),
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
--
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/