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 <linux/compiler.h> 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

Attachment: signature.asc
Description: PGP signature

Reply via email to