src/hotspot/os/linux/os_linux.cpp
changeset 53266 57d8566a2732
parent 53260 fbc921683f02
child 53362 ef09fd205ef0
--- a/src/hotspot/os/linux/os_linux.cpp	Sun Jan 13 17:33:26 2019 +0100
+++ b/src/hotspot/os/linux/os_linux.cpp	Sun Jan 13 16:54:01 2019 -0500
@@ -4027,14 +4027,6 @@
   }
 }
 
-size_t os::read(int fd, void *buf, unsigned int nBytes) {
-  return ::read(fd, buf, nBytes);
-}
-
-size_t os::read_at(int fd, void *buf, unsigned int nBytes, jlong offset) {
-  return ::pread(fd, buf, nBytes, offset);
-}
-
 // Sleep forever; naked call to OS-specific sleep; use with CAUTION
 void os::infinite_sleep() {
   while (true) {    // sleep forever ...