about summary refs log tree commit diff
path: root/stdlib/lcong48_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/lcong48_r.c')
-rw-r--r--stdlib/lcong48_r.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/stdlib/lcong48_r.c b/stdlib/lcong48_r.c
index cc38b4dc7c..f607bc5b84 100644
--- a/stdlib/lcong48_r.c
+++ b/stdlib/lcong48_r.c
@@ -24,13 +24,6 @@ lcong48_r (param, buffer)
      unsigned short int param[7];
      struct drand48_data *buffer;
 {
-  /* Be generous for the arguments, detect some errors.  */
-  if (buffer == NULL)
-    {
-      errno = EFAULT;
-      return -1;
-    }
-
   /* Store the given values.  */
   memcpy (buffer->X, &param[0], sizeof (buffer->X));
   memcpy (buffer->a, &param[3], sizeof (buffer->a));