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 7C2943E1D1B; Mon, 8 Jun 2026 20:16:29 +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=1780949790; cv=none; b=hDJYQWl0NBMcTXD+KnHLx2JECTBgAOx5GykEMQ15zzB3k0VRux7QM81DHWwJKaETar1jkXIA1fZyLcyjgdiXnyMQL/fTMYvifsEFo6RcEOOPheFY2z8rwJoodmLZ4JDxxOqz+ohHW7LpcTtOU6ULlh4ryEooABYghTrkrN/0bEU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780949790; c=relaxed/simple; bh=JM3qyHEbJ3ARbM4lDApZJXOiGq97s9PugOa1blKeVR4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=USIbWa4dRkVyDHj4ZNgjkLzi/3n9xYm/87a3aNuHTif0MRlsT+eMF0WCgFsbtgW6m/lweDpipyjyugehqetD+UYLCF6RqRqFFFCcan/Sdun6p0wXoN4Qao7V8Mpv3c8Fw1itcQUtnKfXRtPG/FgJT/aXJDiNKw1+rmH0HfmYJR8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YD0hq1WL; 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="YD0hq1WL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B891F1F00893; Mon, 8 Jun 2026 20:16:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780949789; bh=7IliUUkRt8PSvyKG237cNGfEJgi46uZHPdCs04Y0B90=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=YD0hq1WLI2Vpo65ogL8UokmhD0rd12hy6mh7syS292+QoF8D0Gz3CA51JC3UA6eKj 3mwFQE/Cctz3K2EExFVFxU5mEwM8meN31orXRYBCLTas44cBk7FqYsw4/ZMLi5MCU4 Nr89wGiF+btH9BMLVA6hp5JFHdyfFb5fQ9i3SWDGyYMat0Ik/BlTdpEXBNWjNeKTKn oY2bA2CR0T6vAntPXqVHItSm9AcDVZsGyvM6TcLo5MOfHmiz6SbErcMfT92I8rDroQ yGmY6d+uvQnH7LQFsAEsQWUepNh5JezdlSFxGof7TEZ6+meJuPoIapvl7FMFJdBlNc MKDcmvaGt7VpA== 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, linux-renesas-soc@vger.kernel.org, Claudiu Beznea Subject: [PATCH v3 12/17] i3c: renesas: Drop the explicit memset() call Date: Mon, 8 Jun 2026 23:15:38 +0300 Message-ID: <20260608201543.804902-13-claudiu.beznea@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260608201543.804902-1-claudiu.beznea@kernel.org> References: <20260608201543.804902-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 v3: - none 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 4504c6e6db31..dab643cd8859 100644 --- a/drivers/i3c/master/renesas-i3c.c +++ b/drivers/i3c/master/renesas-i3c.c @@ -634,7 +634,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