Messages in this thread | | | Subject | Re: [PATCH] drivers: Inline code in devm_platform_ioremap_resource() from two functions | From | "Enrico Weigelt, metux IT consult" <> | Date | Mon, 17 Jun 2019 22:21:06 +0200 |
| |
On 14.06.19 11:22, Markus Elfring wrote: > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Fri, 14 Jun 2019 11:05:33 +0200 > > Two function calls were combined in this function implementation. > Inline corresponding code so that extra error checks can be avoided here.
What exactly is the purpose of this ?
Looks like a notable code duplication ... I thought we usually try to reduce this, instead of introducing new ones.
--mtx
-- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287
| |