Re: [PATCH] score: Simplify _Objects_Name_to_id_u32()

2021-03-01 Thread Gedare Bloom
Looks good. On Mon, Mar 1, 2021 at 12:25 AM Sebastian Huber wrote: > > Remove superfluous check for the objects maximum since the maximum is > also used as a loop limit. > > Fix formatting. > --- > cpukit/score/src/objectnametoid.c | 41 --- > 1 file changed, 21 inser

[PATCH] score: Simplify _Objects_Name_to_id_u32()

2021-02-28 Thread Sebastian Huber
Remove superfluous check for the objects maximum since the maximum is also used as a loop limit. Fix formatting. --- cpukit/score/src/objectnametoid.c | 41 --- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/cpukit/score/src/objectnametoid.c b/cpukit/