Remove excessive parentheses

There are many more.
This commit is contained in:
John Hood
2016-11-07 00:56:02 -05:00
parent 1ae23b4dcc
commit 3346419724
8 changed files with 23 additions and 18 deletions
+2 -2
View File
@@ -948,7 +948,7 @@ static bool motd_hushed( void )
{
/* must be in home directory already */
struct stat buf;
return (0 == lstat( ".hushlogin", &buf ));
return 0 == lstat( ".hushlogin", &buf );
}
#ifdef HAVE_UTMPX_H
@@ -956,7 +956,7 @@ static bool device_exists( const char *ut_line )
{
string device_name = string( "/dev/" ) + string( ut_line );
struct stat buf;
return (0 == lstat( device_name.c_str(), &buf ));
return 0 == lstat( device_name.c_str(), &buf );
}
#endif