aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/cs.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2006-01-10 14:50:39 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2006-03-31 10:02:06 -0500
commit360b65b95bae96f854a2413093ee9b79c31203ae (patch)
treeff5f2dea6055c9616fdec44b7309fc81b8f116ed /drivers/pcmcia/cs.c
parent855cdf134dfcf2ecb92ac4ad675cf655d8ceb678 (diff)
[PATCH] pcmcia: make config_t independent, add reference counting
Handle config_t structs independent of struct pcmcia_socket, and add reference counting for them. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cs.c')
-rw-r--r--drivers/pcmcia/cs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c
index 613f2f1fbfdd..45cffbf285c2 100644
--- a/drivers/pcmcia/cs.c
+++ b/drivers/pcmcia/cs.c
@@ -406,8 +406,6 @@ static void socket_shutdown(struct pcmcia_socket *s)
406 cb_free(s); 406 cb_free(s);
407#endif 407#endif
408 s->functions = 0; 408 s->functions = 0;
409 kfree(s->config);
410 s->config = NULL;
411 409
412 s->ops->get_status(s, &status); 410 s->ops->get_status(s, &status);
413 if (status & SS_POWERON) { 411 if (status & SS_POWERON) {