summaryrefslogtreecommitdiffstats
path: root/src/H5FDint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDint.c')
-rw-r--r--src/H5FDint.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5FDint.c b/src/H5FDint.c
index 8c93f1c..b651c23 100644
--- a/src/H5FDint.c
+++ b/src/H5FDint.c
@@ -215,10 +215,6 @@ H5FD_write(H5FD_t *file, H5FD_mem_t type, haddr_t addr, size_t size, const void
HDassert(file->cls);
HDassert(buf);
- /* Make sure this isn't being called on a read-only VFD */
- if (!file->cls->write)
- HGOTO_ERROR(H5E_VFL, H5E_WRITEERROR, FAIL, "write request made to read-only VFD")
-
/* Get proper DXPL for I/O */
dxpl_id = H5CX_get_dxpl();