memory: tegra{20,30}-mc: Remove empty *_remove()
authorHiroshi DOYU <hdoyu@nvidia.com>
Mon, 14 May 2012 16:20:03 +0000 (19:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 19:52:52 +0000 (12:52 -0700)
Remove unnecessary empty functions.

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/memory/tegra20-mc.c
drivers/memory/tegra30-mc.c

index a38d9d3..3ed49c1 100644 (file)
@@ -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,
index cb639b1..e56ff04 100644 (file)
@@ -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,