From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Date: Wed, 31 Jan 2018 16:40:50 +0100 Subject: [U-Boot] [PATCH v2 4/4] env: sf: use env_import_redund to simplify env_sf_load In-Reply-To: <20180131134713.11566-5-sgoldschmidt@de.pepperl-fuchs.com> References: <20180131134713.11566-1-sgoldschmidt@de.pepperl-fuchs.com> <20180131134713.11566-5-sgoldschmidt@de.pepperl-fuchs.com> Message-ID: <20180131154050.k26243bh4ikuyk4j@flea.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jan 31, 2018 at 02:47:13PM +0100, Simon Goldschmidt wrote: > For the redundant environment configuration, env_sf_load still > contained duplicate code instead of using env_import_redund(). > > Simplify the code by only executing the load twice and delegating > everything else to env_import_redund. > > Signed-off-by: Simon Goldschmidt Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: