diff mbox

[1/1] amba: tegra-ahb: Remove empty *_remove()

Message ID 1337012479-19421-1-git-send-email-hdoyu@nvidia.com
State Accepted, archived
Headers show

Commit Message

Hiroshi Doyu May 14, 2012, 4:21 p.m. UTC
Remove unnecessary empty function.

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
---
 drivers/amba/tegra-ahb.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

Comments

Stephen Warren June 4, 2012, 5:27 p.m. UTC | #1
On 05/14/2012 10:21 AM, Hiroshi DOYU wrote:
> Remove unnecessary empty function.

Applied for 3.6.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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,