aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/rsrc_nonstatic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/rsrc_nonstatic.c')
-rw-r--r--drivers/pcmcia/rsrc_nonstatic.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pcmcia/rsrc_nonstatic.c b/drivers/pcmcia/rsrc_nonstatic.c
index d217dc1d426b..13245a2986f3 100644
--- a/drivers/pcmcia/rsrc_nonstatic.c
+++ b/drivers/pcmcia/rsrc_nonstatic.c
@@ -1113,8 +1113,6 @@ static ssize_t store_io_db(struct device *dev,
1113 1113
1114 mutex_lock(&s->ops_mutex); 1114 mutex_lock(&s->ops_mutex);
1115 ret = adjust_io(s, add, start_addr, end_addr); 1115 ret = adjust_io(s, add, start_addr, end_addr);
1116 if (!ret)
1117 s->resource_setup_new = 1;
1118 mutex_unlock(&s->ops_mutex); 1116 mutex_unlock(&s->ops_mutex);
1119 1117
1120 return ret ? ret : count; 1118 return ret ? ret : count;
@@ -1181,8 +1179,6 @@ static ssize_t store_mem_db(struct device *dev,
1181 1179
1182 mutex_lock(&s->ops_mutex); 1180 mutex_lock(&s->ops_mutex);
1183 ret = adjust_memory(s, add, start_addr, end_addr); 1181 ret = adjust_memory(s, add, start_addr, end_addr);
1184 if (!ret)
1185 s->resource_setup_new = 1;
1186 mutex_unlock(&s->ops_mutex); 1182 mutex_unlock(&s->ops_mutex);
1187 1183
1188 return ret ? ret : count; 1184 return ret ? ret : count;