From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EABCC149E0D; Wed, 3 Apr 2024 15:28:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712158098; cv=none; b=FmiDINVTWDSydq+eM+4egKea+vR/WCNr6PaapJn4xkgPPEYdfpIQwkLdkCKDTLFZlTfS1fqIOAmipbcObZHiiiZWu/MZTrA/+LifR9l+v4iMAiqW09vQd8rRJKHZV9JEZcYQZb8IfvdAJczSsjK5i7B1vjhUreuiip8ZMx+e3cY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712158098; c=relaxed/simple; bh=9ERRkxXQP69jitxNYS1cXjQmH07XlkMPiy+u7m2Nu1s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bfIYXtNU0tf5AMuF7op4wiC0RIVDYrHw5scu6TrYiW/VmWWd12DwA6ICIwX5mIRLlPfuGtrgnenu59zbesHBF/imJmvomV6HaV+AgHv5NR772i2gBqomExfjgvS2YQ5kRotQKFwOVA7bZePUR/vh8V9LO7xeEDWYWNymHdKqdy4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WUiqq/DG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WUiqq/DG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81366C433F1; Wed, 3 Apr 2024 15:28:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712158097; bh=9ERRkxXQP69jitxNYS1cXjQmH07XlkMPiy+u7m2Nu1s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WUiqq/DGggi9rqgz/ExMcvf72xnXgqEk44rp8m6EJtBWZLULstZ4/atnbEsyJxcjm S1ldXle8P6hS/KfEKgYQqvE+g0JP1mTwB5W/2s3zamyB/zp0AFTSunPU0V4yHR9rfS 8Q0cFbJ8Y9D8Nf5g7S+WlFeqSoyOxWRQSb1bimvZbaduaTng+BkMGmiHT+O5vHc16C QIXzZth00hI6HrXW7AyNJtU+ghl1roPVQy6wnNtnHqRUG7SeDXynejKwoupeQcM3Dt 1NkqE43x1efmEFRUsmpd0hdTqdyajjMTH6+J2zfDmTAkNjKScHXEIRJ97Qd0ijnRQ2 WjHXSOaW8Y8iA== Date: Wed, 3 Apr 2024 16:28:13 +0100 From: Simon Horman To: Christophe JAILLET Cc: Madalin Bucur , Sean Anderson , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next] net: fman: Remove some unused fields in some structure Message-ID: <20240403152813.GM26556@kernel.org> References: <425222d4f6c584e8316ccb7b2ef415a85c96e455.1712084103.git.christophe.jaillet@wanadoo.fr> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <425222d4f6c584e8316ccb7b2ef415a85c96e455.1712084103.git.christophe.jaillet@wanadoo.fr> On Tue, Apr 02, 2024 at 08:55:50PM +0200, Christophe JAILLET wrote: > In "struct muram_info", the 'size' field is unused. > In "struct memac_cfg", the 'fixed_link' field is unused. > > Remove them. > > Found with cppcheck, unusedStructMember. > > Signed-off-by: Christophe JAILLET Reviewed-by: Simon Horman