summary refs log tree commit diff
path: root/stdlib/seed48_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/seed48_r.c')
-rw-r--r--stdlib/seed48_r.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/stdlib/seed48_r.c b/stdlib/seed48_r.c
index 4d43507742..e45c3d2ad3 100644
--- a/stdlib/seed48_r.c
+++ b/stdlib/seed48_r.c
@@ -24,13 +24,6 @@ seed48_r (seed16v, buffer)
      unsigned short int seed16v[3];
      struct drand48_data *buffer;
 {
-  /* Be generous for the arguments, detect some errors.  */
-  if (buffer == NULL)
-    {
-      errno = EFAULT;
-      return -1;
-    }
-
   /* Save old value at a private place to be used as return value.  */
   memcpy (buffer->old_X, buffer->X, sizeof (buffer->X));