[PATCH] mmc: Simplify poll CD logic in case cyclic framework is enabled
Marek Vasut
marek.vasut at mailbox.org
Sat Jan 18 04:11:12 CET 2025
On 1/18/25 4:08 AM, Marek Vasut wrote:
> Simplify 90cc07fd786d ("mmc: Poll CD in case cyclic framework is enabled")
> according to suggestions by Rasmus. The struct cyclic_info is zero-size in
> case CONFIG_CYCLIC is not enabled and does not add any size to struct mmc,
> so it can unconditionally be part of that structure. This allows clean up
> of all the other conditionals in mmc.c which can now be unconditionally
> present, as they also add no extra space.
Please ignore v1 and review v2, I forgot to drop the __maybe_unused ,
fixed in V2 .
More information about the U-Boot
mailing list