From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 597943EAC89 for ; Tue, 2 Jun 2026 13:29:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780406954; cv=none; b=KfVgsYHxDLm2YJPtsvyI/TVQS5coK4SnS2z++orXLSurraJRj16aYtStFyLzDVYWXIudObIXFhUQhTNgBnTw+j0FcwXlfGtQ6d7MGXvcEU5T4XKj4EHODw+gPk9aYJCUsWdl1UOMqegHQOPtGVkr3B7zbzpPR02nhQnL77oV09o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780406954; c=relaxed/simple; bh=wMULQEqTTWQhaofR8oIc4NIvup3qw8WSWPfriG3yaT4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nAgtlXXsJhUVmR8KhnT6yQ4KEXboOflYeizkwG7DSzpRScvzxHwBvtzWavu6vDxqgUUTxOlfA8HwE23mV/bJ/9Lv/vZcaE7lxVqFwja8pUyg3c5cnLfyvZzHSUnEfVmeLwPVXcwpXRtbCSb1gY7dDPpMud14/9UtHTgaYsm1sVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eThbhNp0; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eThbhNp0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACA4A1F00893; Tue, 2 Jun 2026 13:29:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780406953; bh=jTdlX9zP0WzRiGWe22aG2+zirmD8Ab+DdfbEq8C2jSo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=eThbhNp0BZC+dZv28FvrYbiJPpGZ/zO6vAvWQStct9QlCzcI/ej1msEvZTwk1KrvF nnXNp9VIeDoYmG8H+Rau2XhINu//jieOqwQcff6uRsoYm/xItDPIsOhf9gCGZEY2e0 6dUeAYj01nR8Mvdk6EpxLcjAn2NoTxr40JUOpvGCWUksWrD7mvfh70O2gAVhGtLvsg fIYgN0wZY2RCVDHHbQYGCnsVJM7tnc8pJA+6yJRUj2onzon9IG9uWr8IK4/PG/DNhC r1Lm93RrSaFD1eCu6322ckvRKgX73fSuXAfM+b8UV5IoHLwJYs6IQiCyWyqygFXqPN 7UAMc/hoBWPZg== From: Claudiu Beznea To: wsa+renesas@sang-engineering.com, tommaso.merciai.xr@bp.renesas.com, alexandre.belloni@bootlin.com, Frank.Li@nxp.com, p.zabel@pengutronix.de Cc: claudiu.beznea@kernel.org, claudiu.beznea@tuxon.dev, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, Claudiu Beznea Subject: [PATCH v2 12/17] i3c: renesas: Drop the explicit memset() call Date: Tue, 2 Jun 2026 16:28:19 +0300 Message-ID: <20260602132824.3541151-13-claudiu.beznea@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260602132824.3541151-1-claudiu.beznea@kernel.org> References: <20260602132824.3541151-1-claudiu.beznea@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Claudiu Beznea Drop the explicit memset() call on struct i3c_device_info object, as it is already initialized at declaration through compiler initialization. Reviewed-by: Frank Li Signed-off-by: Claudiu Beznea --- Changes in v2: - collected tags drivers/i3c/master/renesas-i3c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i3c/master/renesas-i3c.c b/drivers/i3c/master/renesas-i3c.c index 601d879fce9d..6725b7fe5392 100644 --- a/drivers/i3c/master/renesas-i3c.c +++ b/drivers/i3c/master/renesas-i3c.c @@ -631,7 +631,6 @@ static int renesas_i3c_bus_init(struct i3c_master_controller *m) i3c->dyn_addr = ret; renesas_writel(i3c->regs, MSDVAD, MSDVAD_MDYAD(ret) | MSDVAD_MDYADV); - memset(&info, 0, sizeof(info)); info.dyn_addr = ret; return i3c_master_set_info(&i3c->base, &info); } -- 2.43.0