diff options
Diffstat (limited to 'drivers/pcmcia/rsrc_mgr.c')
-rw-r--r-- | drivers/pcmcia/rsrc_mgr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pcmcia/rsrc_mgr.c b/drivers/pcmcia/rsrc_mgr.c index b81586622d02..aca2cfd02ca5 100644 --- a/drivers/pcmcia/rsrc_mgr.c +++ b/drivers/pcmcia/rsrc_mgr.c | |||
@@ -26,9 +26,7 @@ static int static_init(struct pcmcia_socket *s) | |||
26 | /* the good thing about SS_CAP_STATIC_MAP sockets is | 26 | /* the good thing about SS_CAP_STATIC_MAP sockets is |
27 | * that they don't need a resource database */ | 27 | * that they don't need a resource database */ |
28 | 28 | ||
29 | mutex_lock(&s->ops_mutex); | ||
30 | s->resource_setup_done = 1; | 29 | s->resource_setup_done = 1; |
31 | mutex_unlock(&s->ops_mutex); | ||
32 | 30 | ||
33 | return 0; | 31 | return 0; |
34 | } | 32 | } |