From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F34D3D34BB for ; Tue, 23 Jun 2026 12:01:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782216070; cv=none; b=fQNaHoqTwq3lThG44S5mcwAj0CR8TL48N+HgsQdk1Lx5vUo1ctG9VyFHk89lT/8IojgaQ4M0zWJ6KzFQygOMks+2+cImt53JD5rG7mELvhTcBGPASl23KZ2VobjdU2dJ0LemjfLbpaO3nddn0G1xBGER6mkYxi8faeSTnROi1RA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782216070; c=relaxed/simple; bh=0kDoTyE4nVThxMl2P9ohaKer86S5BnG5nO+bVsU1iBU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=P9AOD3zzxSt8YOU0QAHZD7PZJp2HrDzR2LssDuh9cuF37SYxSpKPYzij74bZxinSMHxgudBhMTIhCLde5KkGW9IlyMDxX6wkDo2tA/fVm2J4JVmlbsbnPwMNqHoJYg7f62UtFUcdidCEA4cH+pdvXjIPuQIbcJvSMgsSHUA8/MU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=J1yWATe2; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="J1yWATe2" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-5ad583dc41eso4503658e87.1 for ; Tue, 23 Jun 2026 05:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782216067; x=1782820867; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BRyoguXCFboDMiqZsJPXxJoMtk57a32AH6Ylz8N1LDs=; b=J1yWATe2aLTiLuReP64FheE7rO7Uu9cbjzCw7EjDrH4kwVqSotKenRYY6mRwAmMzza Bd2yF8tDeBoy4j4WFlg5wNimaHYEEfxjbtYKqFNFHq0eA+8+en3V5qY3QDS+rcRXRCUI Smvyp/8ytUSay7QxmXk0PpfatO93ztPKx/5OlQBazMERV0JCCm1xg6fMRp4pCj3cKEij GC/YtzbemXwF/u0/Y9RzXDj9pTwCBA3O6EPCfjN22lk1Cwo/Zc+zc2a+3r9mgf7iSoey E0u78gJIU1D57IJ0NZKGNNCM7uQFH8jQoIontwTA1DqSpgxeh1Y4MkjbrT8BnZGeLpCk iaNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782216067; x=1782820867; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BRyoguXCFboDMiqZsJPXxJoMtk57a32AH6Ylz8N1LDs=; b=ful2lUNIa8LOp8WI4Z2RpTUfmvDPL4gXHVmDHexw6K3swHsb91ldQPsqq0cfIMQ362 ELwDTPfyKMJTF5tc4Qt7xV3apxRn5XB0DpW4WuEtjWQqk75A6GF5jlZ3EmbwhYEWLAUe 2aTlIRBIDPlOwfPLnQAaHBHUVXypnL/pFpxRY0F/6bBJfxbOhICQg6c/Gwxh1250tqh/ 2MWnee39hURUEHKC7l95+nrnrwx0LXBV1sfCpIigakf02eiCjrfaYdIBub7jEd3z4C4z DkLfv4OWP7WPCGspuQ+r9KDR5RmfoeEt9jD+5MIPF+kdFdLecE6dwlCDRgXZVvqWHl8O tf8Q== X-Gm-Message-State: AOJu0YzIRP0xExXCDwZO1EIoJQBiiGM5uVStX8YhQn9vyt1DTnAWiqPM 0JnNhFw5KydF6a+AzwLFwJUSQx//0AkgZI0KZQI2J+Btw8TWO+9BCQfE X-Gm-Gg: AfdE7ckqJswjPOJBTeHAeChxdEDXZndiVBXz4OYKN9cfOx2f+TMTpQZ9+4a8VJsiGam KzmgV15FBLgbQW33wfpwWDZedGQVcKHIEad6mNnBCk4GSPGX6SsrqVNwygR3lzD5diwfRFQsKXR 82iXRi+O8NgtcFEokiHQIXi1a35Y9nXlOfNA8IWYYBfMgKzH0QF7CJvoTbA9Hy1E9s4TrFN1y8h E2zVgB3iudDToCH+Tv84R6rGhl0IkvOY3oKStuqE9eCYgowgPKSpIjWnrxgDxfu8+TsrRY7PE+m SgGqlgODnOSsbwTfhB7noLSDShm4pM5OmgNptNMJ99xb5eRr6nB8NV/5Lqh4O8QWB6EvRHltH9a dDL4rAn433oJk2bbCKhbQ0q6jndP2OYWzHWBdgU+BM2wsHb9GIsnUpjH0Ncp1BQ7f4BOXnycikK 09iCeFI5sMpF3qFGtX+lgTbUWwEPjB6Lz70SY8AqNBLE/UFI3lBSYINdsux96JYiSXDI6EXrsk X-Received: by 2002:a05:6512:3f10:b0:5aa:6b8b:8c9c with SMTP id 2adb3069b0e04-5ae351246f5mr719961e87.42.1782216065854; Tue, 23 Jun 2026 05:01:05 -0700 (PDT) Received: from g.localdomain (95-25-158-125.broadband.corbina.ru. [95.25.158.125]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5ad69580f08sm715774e87.66.2026.06.23.05.01.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2026 05:01:05 -0700 (PDT) From: Igor Putko To: tj@kernel.org, jiangshanlai@gmail.com, peterz@infradead.org, sshegde@linux.ibm.com, vschneid@redhat.com, pauld@redhat.com Cc: linux-kernel@vger.kernel.org, Igor Putko Subject: [PATCH 0/2] kernel: remove redundant static variable initializations Date: Tue, 23 Jun 2026 15:00:59 +0300 Message-Id: <20260623120101.4942-1-igorpetindev@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series removes explicit initializations of static bool variables to false within the kernel/ subsystem. In C, static variables without explicit initialization are implicitly placed in the .bss section and initialized to zero/false by default. Removing these explicit initializations follows the Linux kernel coding style and avoids cluttering the data section. Igor Putko (2): kernel/workqueue: remove redundant initialization for static variables kernel/stop_machine: remove redundant initialization for stop_machine_initialized kernel/stop_machine.c | 2 +- kernel/workqueue.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.34.1