Re: [PATCH] hw/dma/soc_dma: Replace if-else chain with array lookup
Peter Maydell <[email protected]> Sun, 21 Jun 2026 14:48:58 +0100
| Newsgroups | org.nongnu.qemu-trivial,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <CAFEAcA_MYAnYqea-1ZW8vu-c=j0s=Eb-jwc5d8VjKXiOMV=-vg@mail.gmail.com> |
On Sat, 20 Jun 2026 at 21:33, Evgeny <[email protected]> wrote: > > Dear Peter, > > No particular reason. > > Just found a small refactor-like TODO comment. > Did not think about this code being ancient. > Feel free to discard the patch then. No worries. Unfortunately QEMU has a fair bit of old code, so TODO comments are often a bit misleading about how worthwhile making some change is. Some of them effectively degrade into "we could do this but it isn't worth the time" :-/ -- PMM