dax: remove redundant assignment to variable rc
[sfrench/cifs-2.6.git] / drivers / dax / bus.c
index 018f81ec82ac05d0215c17564913ee97ce557aeb..6ec5db8013e893f1977dabdafd4da46a1b354b06 100644 (file)
@@ -1204,7 +1204,6 @@ static ssize_t mapping_store(struct device *dev, struct device_attribute *attr,
        if (rc)
                return rc;
 
-       rc = -ENXIO;
        rc = down_write_killable(&dax_region_rwsem);
        if (rc)
                return rc;