T);
	Thu, 23 Oct 2025 15:06:41 +0000 (GMT)
Received: from m0356516.ppops.net (m0356516.ppops.net [127.0.0.1])
	by pps.reinject (8.18.1.12/8.18.0.8) with ESMTP id 59NF619q013455;
	Thu, 23 Oct 2025 15:06:41 GMT
Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219])
	by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 49v30w1e0g-1
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
	Thu, 23 Oct 2025 15:06:41 +0000 (GMT)
Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1])
	by ppma11.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 59NEZrks011075;
	Thu, 23 Oct 2025 15:06:40 GMT
Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229])
	by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 49vqx1e3bg-1
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
	Thu, 23 Oct 2025 15:06:40 +0000
Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103])
	by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 59NF6aDB26608020
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
	Thu, 23 Oct 2025 15:06:36 GMT
Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1])
	by IMSVA (Postfix) with ESMTP id 77C0E2004D;
	Thu, 23 Oct 2025 15:06:36 +0000 (GMT)
Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1])
	by IMSVA (Postfix) with ESMTP id 646772004B;
	Thu, 23 Oct 2025 15:06:36 +0000 (GMT)
Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9])
	by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTPS;
	Thu, 23 Oct 2025 15:06:36 +0000 (GMT)
Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55271)
	id 3A99CE0505; Thu, 23 Oct 2025 17:06:36 +0200 (CEST)
From: Alexandra Winter <wintera@linux.ibm.com>
To: Julian Ruess <julianr@linux.ibm.com>, Mete Durlu <meted@linux.ibm.com>,
        "D. Wythe" <alibuda@linux.alibaba.com>,
        Dust Li <dust.li@linux.alibaba.com>,
        Sidraya Jayagond <sidraya@linux.ibm.com>,
        Wenjia Zhang <wenjia@linux.ibm.com>,
        David Miller <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>,
        Paolo Abeni <pabeni@redhat.com>, Eric Dumazet <edumazet@google.com>,
        Andrew Lunn <andrew+netdev@lunn.ch>
Cc: Mahanta Jambigi <mjambigi@linux.ibm.com>,
        Tony Lu <tonylu@linux.alibaba.com>, Wen Gu <guwen@linux.alibaba.com>,
        linux-rdma@vger.kernel.org, netdev@vger.kernel.org,
        linux-s390@vger.kernel.org, Heiko Carstens <hca@linux.ibm.com>,
        Vasily Gorbik <gor@linux.ibm.com>,
        Alexander Gordeev <agordeev@linux.ibm.com>,
        Christian Borntraeger <borntraeger@linux.ibm.com>,
        Sven Schnelle <svens@linux.ibm.com>, Simon Horman <horms@kernel.org>
Subject: [PATCH net-next 1/2] dibs: Remove reset of static vars in dibs_init()
Date: Thu, 23 Oct 2025 17:06:35 +0200
Message-ID: <20251023150636.3995476-1-wintera@linux.ibm.com>
X-Mailer: git-send-email 2.48.1
Precedence: bulk
X-Mailing-List: linux-s390@vger.kernel.org
List-Id: <linux-s390.vger.kernel.org>
List-Subscribe: <mailto:linux-s390+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-s390+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-TM-AS-GCONF: 00
X-Proofpoint-GUID: Thhvfx46WOP6PAZCaySNauprniLkgjZP
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDE4MDAyMiBTYWx0ZWRfX+dGYMbMp9Hd9
 wTK2r/i6byqOBUakCbYEPsyjaYhWp2Ko33i5am64cZaxilWE2tiD1OFdS0Ks6vA2h1BJJB1yJcn
 zU7MleHmS9Vj7rZXi2NEVuw0hgRJAWmSrfHocAqecpzSP00DVks1bMbz234Ug1zg6aVBe6DGtsc
 tdWjfsGJx8km9ZnNcqd+GDP4CuPu98HQUvN7BYOupUBZvYSrJQ1egdGX02EddPvwFwjZJgoPofm
 /akljc9dEmoLl8uqat/s5gTh3BT+eKR4CHTJLD+mkS8LDepZJsu+wr8D7fNU4B+GSGKLUiKKmOf
 aH/B5v4az78YVKBGaNwhE/QUGSdvMtL1fX2T/Grm9B5cb8ooLHVv3QJ6CT7y/vw99B12BsTKu44
 KJ4rE3ZKKErNGtWo11vijnNNm9fLYA==
X-Authority-Analysis: v=2.4 cv=MIJtWcZl c=1 sm=1 tr=0 ts=68fa4481 cx=c_pps
 a=aDMHemPKRhS1OARIsFnwRA==:117 a=aDMHemPKRhS1OARIsFnwRA==:17
 a=x6icFKpwvdMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VnNF1IyMAAAA:8
 a=8oxiqV0urVS3dNMH5xsA:9 a=cPQSjfK2_nFv0Q5t_7PE:22
X-Proofpoint-ORIG-GUID: _U9ukBPxbYPmKBgv-HbeQZ81lRSho-wk
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40
 definitions=2025-10-23_01,2025-10-22_01,2025-03-28_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
 malwarescore=0 spamscore=0 phishscore=0 lowpriorityscore=0 adultscore=0
 clxscore=1015 impostorscore=0 bulkscore=0 priorityscore=1501 suspectscore=0
 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0
 reason=mlx scancount=1 engine=8.19.0-2510020000 definitions=main-2510180022
X-DKIM: signer='ibm.com' status='pass' reason=''
DKIMCheck: Server passes DKIM test, 0 Spam score
X-Spam-Score: 0.5 (/)
X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has
 performed the tests listed below against this email.
 Information: https://mxroutedocs.com/directadmin/spamfilters/
 ---
 Content analysis details:   (0.5 points)
 ---
  pts rule name              description
 ---- ---------------------- -----------------------------------------
  0.0 RCVD_IN_DNSWL_BLOCKED  RBL: ADMINISTRATOR NOTICE: The query to
                             DNSWL was blocked.  See
                             http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block
                              for more information.
                             [142.0.200.124 listed in list.dnswl.org]
  1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
                             mail domains are different
  0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
                             valid
 -0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager
SpamTally: Final spam score: 5

'clients' and 'max_client' are static variables and therefore don't need to
be initialized.

Reported-by: Mete Durlu <meted@linux.ibm.com>
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
---
 drivers/dibs/dibs_main.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/dibs/dibs_main.c b/drivers/dibs/dibs_main.c
index 0374f8350ff7..b015578b4d2e 100644
--- a/drivers/dibs/dibs_main.c
+++ b/drivers/dibs/dibs_main.c
@@ -254,9 +254,6 @@ static int __init dibs_init(void)
 {
 	int rc;
 
-	memset(clients, 0, sizeof(clients));
-	max_client = 0;
-
 	dibs_class = class_create("dibs");
 	if (IS_ERR(dibs_class))
 		return PTR_ERR(dibs_class);
-- 
2.48.1



From - Thu Oct 23 15:15:36 2025
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <postmaster@cioeu110640.mail.nibble-app.com>
Delivered-To: hi@josie.lol
Received: from witcher.mxrouting.net
	by witcher.mxrouting.net with LMTP
	id iAk9BJdG+mjVJzgAYBR5ng
	(envelope-from <postmaster@cioeu110640.mail.nibble-app.com>)
	for <hi@josie.lol>; Thu, 23 Oct 2025 15:15:35 +0000
Return-path: <postmaster@cioeu110640.mail.nibble-app.com>
Envelope-to: hi@josie.lol
Delivery-date: Thu, 23 Oct 2025 15:15:35 +0000
Received: from m32-214.eu.mailgun.net ([141.193.32.214])
	by witcher.mxrouting.net with esmtps  (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
	(Exim 4.98)
	(envelope-from <postmaster@cioeu110640.mail.nibble-app.com>)
	id 1vBx2M-0000000Fbze-2NOa
	for hi@josie.lol;
	Thu, 23 Oct 2025 15:15:35 +0000
DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=cioeu110640.mail.nibble-app.com; q=dns/txt; s=email; t=1761232533; x=1761239733;
 h=Message-Id: List-Unsubscribe: List-Unsubscribe-Post: To: To: From: From: Subject: Subject: Content-Type: Mime-Version: Date: Sender;
 bh=rca3x28KZ7b7jShddWTpxbuPvwwOSvcRqNHdmHi5KPc=;
 b=KcdtXUQwz80NToNR0I7Xcwvtpb+TLqap//3Uc4nbHJu/TF4hpkexAMBL2phmuDxJ8zwDKpuK6U7Z7Q2hSDY70pUU/Q393TvBcnu4CLcgT5cKlCLwFjUgkiogAUeII6LfFH5l3evUoQQ18SHUCKk+IVC+/uFSkTDdTCfFf/QD7Xw=
X-Mailgun-Sid: WyI3Nzg3ZCIsImhpQGpvc2llLmxvbCIsImQ2YmE5Il