From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 14 May 2021 16:43:00 -0400 Subject: [PATCH v2 21/50] hash: Drop some #ifdefs in hash.c In-Reply-To: References: <20210506142438.1310977-1-sjg@chromium.org> <20210506142438.1310977-5-sjg@chromium.org> Message-ID: <20210514204300.GP17669@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, May 14, 2021 at 10:37:54AM -0500, Alex G. wrote: > > > On 5/6/21 9:24 AM, Simon Glass wrote: > > We can use the __maybe_unused attribute to avoid some of the #ifdefs in > > this file. Update the functions accordingly. > > What is __maybe_unused? Does u-boot support booting quantum computers? It's from and tells the compiler to not warn about unused functions in that specific case. Since we'll garbage collect them later, it means we don't need to #ifdef around functions and it can end up reading cleaner. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: