diff options
Diffstat (limited to 'drivers/pcmcia/cs.c')
-rw-r--r-- | drivers/pcmcia/cs.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c index d5e76423a0ee..234cdca6fe13 100644 --- a/drivers/pcmcia/cs.c +++ b/drivers/pcmcia/cs.c | |||
@@ -331,10 +331,8 @@ static void shutdown_socket(struct pcmcia_socket *s) | |||
331 | cb_free(s); | 331 | cb_free(s); |
332 | #endif | 332 | #endif |
333 | s->functions = 0; | 333 | s->functions = 0; |
334 | if (s->config) { | 334 | kfree(s->config); |
335 | kfree(s->config); | 335 | s->config = NULL; |
336 | s->config = NULL; | ||
337 | } | ||
338 | 336 | ||
339 | { | 337 | { |
340 | int status; | 338 | int status; |