summaryrefslogtreecommitdiffstats
path: root/src/H5FDstdio.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-03-14 19:31:10 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-03-14 19:31:10 (GMT)
commit3fcfb3674842338f2b4d7e1e97e2fee678a021e7 (patch)
treef6e58cf6e4dfcb16e0f53e57d648af707d03ee16 /src/H5FDstdio.c
parent2687321987f6ded4f85f138f8572abe96ce90264 (diff)
parentd0aeefd6455d6877afd934e238362636a86e4b42 (diff)
downloadhdf5-3fcfb3674842338f2b4d7e1e97e2fee678a021e7.zip
hdf5-3fcfb3674842338f2b4d7e1e97e2fee678a021e7.tar.gz
hdf5-3fcfb3674842338f2b4d7e1e97e2fee678a021e7.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'd0aeefd6455d6877afd934e238362636a86e4b42': Final merge of page buffering branch to develop
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r--src/H5FDstdio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index 4c62bcc..13f728e 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -601,13 +601,6 @@ H5FD_stdio_alloc(H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type, hid_t /*UNUSED*/ dxp
/* Compute the address for the block to allocate */
addr = file->eoa;
- /* Check if we need to align this block */
- if(size >= file->pub.threshold) {
- /* Check for an already aligned block */
- if((addr % file->pub.alignment) != 0)
- addr = ((addr / file->pub.alignment) + 1) * file->pub.alignment;
- } /* end if */
-
file->eoa = addr + size;
return addr;