From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sunil Kovvuri Date: Wed, 02 Dec 2020 07:15:00 +0000 Subject: Re: [PATCH net-next] octeontx2-af: debugfs: delete dead code Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Sunil Goutham , Linu Cherian , Geetha sowjanya , Jerin Jacob , "David S. Miller" , Jakub Kicinski , Linux Netdev List , LKML , kernel-janitors@vger.kernel.org On Wed, Dec 2, 2020 at 12:28 PM Dan Carpenter wrote: > > These debugfs never return NULL so all this code will never be run. > > In the normal case, (and in this case particularly), the debugfs > functions are not supposed to be checked for errors so all this error > checking code can be safely deleted. > > Signed-off-by: Dan Carpenter > --- Thanks for the changes.