This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Remove useless check - ki_loginclass is an array; can't be NULL.

CID:		1006559
Approved by:	re (kib)
MFC after:	2 weeks
Sponsored by:	FreeBSD Foundation
  • Loading branch information...
trasz committed Oct 4, 2013
1 parent d5bf9d0 commit 8dd526065ca58fc43cbdeb74d96e03cc04061fc8
Showing with 0 additions and 1 deletion.
  1. +0 −1 bin/pkill/pkill.c
View
@@ -481,7 +481,6 @@ main(int argc, char **argv)
* We skip P_SYSTEM processes to match ps(1) output.
*/
if ((kp->ki_flag & P_SYSTEM) == 0 &&
- kp->ki_loginclass != NULL &&
strcmp(kp->ki_loginclass, li->li_name) == 0)
break;
}

0 comments on commit 8dd5260

Please sign in to comment.