mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] memory: tegra{20,30}-mc: Remove empty *_remove()
@ 2012-05-14 16:20 Hiroshi DOYU
  0 siblings, 0 replies; only message in thread
From: Hiroshi DOYU @ 2012-05-14 16:20 UTC (permalink / raw)
  To: hdoyu; +Cc: linux-tegra, Greg Kroah-Hartman, Stephen Warren, linux-kernel

Remove unnecessary empty functions.

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-14 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-14 16:20 [PATCH 1/1] memory: tegra{20,30}-mc: Remove empty *_remove() Hiroshi DOYU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®