2012-05-14 16:21:33

by Hiroshi Doyu

[permalink] [raw]
Subject: [PATCH 1/1] amba: tegra-ahb: Remove empty *_remove()

Remove unnecessary empty function.

Signed-off-by: Hiroshi DOYU <[email protected]>
---
drivers/amba/tegra-ahb.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c
index aa0b1f1..0b6f0b2 100644
--- a/drivers/amba/tegra-ahb.c
+++ b/drivers/amba/tegra-ahb.c
@@ -264,11 +264,6 @@ static int __devinit tegra_ahb_probe(struct platform_device *pdev)
return 0;
}

-static int __devexit tegra_ahb_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
static const struct of_device_id tegra_ahb_of_match[] __devinitconst = {
{ .compatible = "nvidia,tegra30-ahb", },
{ .compatible = "nvidia,tegra20-ahb", },
@@ -277,7 +272,6 @@ static const struct of_device_id tegra_ahb_of_match[] __devinitconst = {

static struct platform_driver tegra_ahb_driver = {
.probe = tegra_ahb_probe,
- .remove = __devexit_p(tegra_ahb_remove),
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
--
1.7.5.4


2012-06-04 17:27:17

by Stephen Warren

[permalink] [raw]
Subject: Re: [PATCH 1/1] amba: tegra-ahb: Remove empty *_remove()

On 05/14/2012 10:21 AM, Hiroshi DOYU wrote:
> Remove unnecessary empty function.

Applied for 3.6.