[PATCH 15/20] rtems: Move _Partition_Allocate()

Gedare Bloom gedare at rtems.org
Fri Nov 20 16:17:21 UTC 2020


I agree, this one doesn't need a comment, it is quite clear.

On Fri, Nov 20, 2020 at 7:08 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> On 20/11/2020 15:04, Joel Sherrill wrote:
>
> > Why are the comments being deleted?
> >
> > I assume this is happening in all of the patches of this type. Please
> > don't do that.
>
> The comment is deleted since the function moves from a header file to a
> source file and it is a trivial one liner function with a descriptive
> name. I think is it absolutely obvious what
>
> static Partition_Control *_Partition_Allocate( void )
> {
>    return (Partition_Control *) _Objects_Allocate(
> &_Partition_Information );
> }
>
> does.
>
> --
> embedded brains GmbH
> Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> Phone: +49-89-18 94 741 - 16
> Fax:   +49-89-18 94 741 - 08
> PGP: Public key available on request.
>
> embedded brains GmbH
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list