Author: kib
Date: Wed Jul  3 19:23:20 2019
New Revision: 349678
URL: https://svnweb.freebsd.org/changeset/base/349678

Log:
  MFC r349297:
  Remove redundand 'else' and 'return'.

Modified:
  stable/11/lib/libc/gen/libc_dlopen.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libc/gen/libc_dlopen.c
==============================================================================
--- stable/11/lib/libc/gen/libc_dlopen.c        Wed Jul  3 19:22:44 2019        
(r349677)
+++ stable/11/lib/libc/gen/libc_dlopen.c        Wed Jul  3 19:23:20 2019        
(r349678)
@@ -47,8 +47,8 @@ libc_dlopen(const char *path, int mode)
        if (__libc_restricted_mode) {
                _rtld_error("Service unavailable -- libc in restricted mode");
                return (NULL);
-       } else
-               return (dlopen(path, mode));
+       }
+       return (dlopen(path, mode));
 }
 
 void
@@ -56,6 +56,5 @@ __FreeBSD_libc_enter_restricted_mode(void)
 {
 
        __libc_restricted_mode = 1;
-       return;
 }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to