diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-01-06 11:23:58 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-01-24 19:57:54 +0100 |
commit | 385ee871092a524869c71a8180888aadcd6ca36d (patch) | |
tree | 8c40bebe2654d36f90fb8044f3fcf2f9bdbbf221 /drivers/pcmcia/rsrc_mgr.c | |
parent | 3970dd8c5169505f0cc5e4c3e2fde7bdd9bbad3e (diff) | |
download | linux-stable-385ee871092a524869c71a8180888aadcd6ca36d.tar.gz linux-stable-385ee871092a524869c71a8180888aadcd6ca36d.tar.bz2 linux-stable-385ee871092a524869c71a8180888aadcd6ca36d.zip |
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.c | 6 |
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) { |