From 33068a0f5ee5269980defedb7aeaa6d2a232af3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Wed, 10 Nov 2021 14:01:54 +0100
Subject: [PATCH] binfmt: unparenthesize a bit

---
 src/binfmt/binfmt.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c
index 0c65957ae4..07a736dcc9 100644
--- a/src/binfmt/binfmt.c
+++ b/src/binfmt/binfmt.c
@@ -200,15 +200,13 @@ static int run(int argc, char *argv[]) {
         if (arg_unregister)
                 return disable_binfmt();
 
-        if (argc > optind) {
-                int i;
-
-                for (i = optind; i < argc; i++) {
+        if (argc > optind)
+                for (int i = optind; i < argc; i++) {
                         k = apply_file(argv[i], false);
                         if (k < 0 && r == 0)
                                 r = k;
                 }
-        } else {
+        else {
                 _cleanup_strv_free_ char **files = NULL;
                 char **f;