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 502BD30FB0 for ; Thu, 19 Oct 2023 15:57:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q/+n6Luz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E20AC433C7; Thu, 19 Oct 2023 15:56:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697731024; bh=oZW9El7VXfMlH/VjYu7huedpwgs6ijSWuN8AI0F6kg0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q/+n6Luz9GwG6HQrsfZY+Lv6ogNKsddYTTdWLU2j9GiVS743nVlWPtpjikCg0F+Pl 2CA/Cx1ibkoVk2m4Hvge3iZC1nA3+ZHIA5k7QkrYa78naY/yOqF+csPtT/u3rGhe2l RnYhAos6uCfn91ovO43W9/pkXO76q0erViErA9JzuZOaMCn0TWufk6YTWYq+gsl/H6 L6K1ADdf15xLlNbMt0NlUCDvjCMQG7NMZ2Wks+9ytza30c1YLyCbd9m503IelAyp5e 7DdSjiTWireDqXJBbfCQhvOD6CtUr65KE1Tn6nRJGiMdX+b/HEE+2bTmTJpuwM0Tl0 o4dGtvCpZ8EkA== Date: Thu, 19 Oct 2023 17:56:55 +0200 From: Simon Horman To: Przemek Kitszel Cc: Jiri Pirko , netdev@vger.kernel.org, "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shannon Nelson , Michael Chan , Cai Huoqing , George Cherian , Danielle Ratson , Moshe Shemesh , Saeed Mahameed , Ariel Elior , Manish Chopra , Igor Russkikh , Coiby Xu , Brett Creeley , Sunil Goutham , Linu Cherian , Geetha sowjanya , Jerin Jacob , hariprasad , Subbaraya Sundeep , Ido Schimmel , Petr Machata , Eran Ben Elisha , Aya Levin , Leon Romanovsky , linux-kernel@vger.kernel.org, Benjamin Poirier , Jesse Brandeburg , Jiri Pirko Subject: Re: [PATCH net-next v3 04/11] bnxt_en: devlink health: use retained error fmsg API Message-ID: <20231019155655.GM2100445@kernel.org> References: <20231018202647.44769-1-przemyslaw.kitszel@intel.com> <20231018202647.44769-5-przemyslaw.kitszel@intel.com> 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: <20231018202647.44769-5-przemyslaw.kitszel@intel.com> On Wed, Oct 18, 2023 at 10:26:40PM +0200, Przemek Kitszel wrote: > Drop unneeded error checking. > > devlink_fmsg_*() family of functions is now retaining errors, > so there is no need to check for them after each call. > > Reviewed-by: Jesse Brandeburg > Reviewed-by: Jiri Pirko > Signed-off-by: Przemek Kitszel Reviewed-by: Simon Horman