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

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 20 14:08:12 UTC 2020


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/



More information about the devel mailing list