[Crash-utility] [PATCH RFC 04/14] task: remove extra parentheses in equality comparison

Oleksandr Natalenko oleksandr at redhat.com
Fri Oct 27 08:23:10 UTC 2017


Signed-off-by: Oleksandr Natalenko <oleksandr at redhat.com>
---
 task.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/task.c b/task.c
index 5754159..261ca31 100644
--- a/task.c
+++ b/task.c
@@ -3384,7 +3384,7 @@ show_ps(ulong flag, struct psinfo *psi)
 				break;
 
 			case PS_BY_TASK:
-				if ((tc->task == psi->task[ac]))
+				if (tc->task == psi->task[ac])
 					print = TRUE;
 				break;
 
-- 
2.14.3




More information about the Crash-utility mailing list