diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-10 20:50:39 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-03-31 17:02:06 +0200 |
commit | 360b65b95bae96f854a2413093ee9b79c31203ae (patch) | |
tree | ff5f2dea6055c9616fdec44b7309fc81b8f116ed /drivers/pcmcia/cs.c | |
parent | [PATCH] pcmcia: always use device pointer to config_t (diff) | |
download | linux-360b65b95bae96f854a2413093ee9b79c31203ae.tar.xz linux-360b65b95bae96f854a2413093ee9b79c31203ae.zip |
[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.c | 2 |
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) cb_free(s); #endif s->functions = 0; - kfree(s->config); - s->config = NULL; s->ops->get_status(s, &status); if (status & SS_POWERON) { |