Code

remove duplicate code in rrd_open -- Richard Laager
[rrdtool.git] / src / rrd_open.c
index 9a5385ae9ef979668f92d04959e50e55e4b2dc72..a469d56e036faeeeae023e3c22b0d5255978a3c0 100644 (file)
@@ -300,9 +300,6 @@ rrd_file_t *rrd_open(
         goto out_close;
     }
     rrd_simple_file->file_start = data;
-    if (rdwr & RRD_CREAT) {
-        goto out_done;
-    }
 #endif
     if (rdwr & RRD_CREAT)
         goto out_done;