summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/rsrc_mgr.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2010-01-06 13:23:58 +0300
committerDominik Brodowski <linux@dominikbrodowski.net>2010-01-24 21:57:54 +0300
commit385ee871092a524869c71a8180888aadcd6ca36d (patch)
tree8c40bebe2654d36f90fb8044f3fcf2f9bdbbf221 /drivers/pcmcia/rsrc_mgr.c
parent3970dd8c5169505f0cc5e4c3e2fde7bdd9bbad3e (diff)
downloadlinux-385ee871092a524869c71a8180888aadcd6ca36d.tar.xz
pcmcia: remove useless indirection
As release_resoure_db() used to be called only from one place, and it's a two-line function, remove it. Tested-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/rsrc_mgr.c')
-rw-r--r--drivers/pcmcia/rsrc_mgr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pcmcia/rsrc_mgr.c b/drivers/pcmcia/rsrc_mgr.c
index 52db17263d8b..66c780073cd2 100644
--- a/drivers/pcmcia/rsrc_mgr.c
+++ b/drivers/pcmcia/rsrc_mgr.c
@@ -58,12 +58,6 @@ struct resource *pcmcia_find_mem_region(u_long base, u_long num, u_long align,
}
EXPORT_SYMBOL(pcmcia_find_mem_region);
-void release_resource_db(struct pcmcia_socket *s)
-{
- if (s->resource_ops->exit)
- s->resource_ops->exit(s);
-}
-
static int static_init(struct pcmcia_socket *s)
{