Re: kern_sched.c: unused functions

2016-03-19 Thread Michael McConville
Michal Mazurek wrote: > On 17:19:39, 2.03.16, Martin Natano wrote: > > On Wed, Mar 02, 2016 at 05:07:21PM +0100, Michal Mazurek wrote: > > > kern_sched.c: > > > - remove unused functions > > > - mark static functions as static > > > > Functions shouldn't be static in the kernel. "In userland, > >

Re: kern_sched.c: unused functions

2016-03-19 Thread Mike Belopuhov
On Wed, Mar 16, 2016 at 22:18 -0400, Michael McConville wrote: > Michal Mazurek wrote: > > On 17:19:39, 2.03.16, Martin Natano wrote: > > > On Wed, Mar 02, 2016 at 05:07:21PM +0100, Michal Mazurek wrote: > > > > kern_sched.c: > > > > - remove unused functions > > > > - mark static functions as sta

Re: kern_sched.c: unused functions

2016-03-19 Thread Mark Kettenis
> Date: Wed, 16 Mar 2016 22:18:41 -0400 > From: Michael McConville > > Michal Mazurek wrote: > > On 17:19:39, 2.03.16, Martin Natano wrote: > > > On Wed, Mar 02, 2016 at 05:07:21PM +0100, Michal Mazurek wrote: > > > > kern_sched.c: > > > > - remove unused functions > > > > - mark static function

Re: kern_sched.c: unused functions

2016-03-02 Thread Michal Mazurek
On 17:19:39, 2.03.16, Martin Natano wrote: > On Wed, Mar 02, 2016 at 05:07:21PM +0100, Michal Mazurek wrote: > > kern_sched.c: > > - remove unused functions > > - mark static functions as static > > Functions shouldn't be static in the kernel. "In userland, > functions local to one source module

Re: kern_sched.c: unused functions

2016-03-02 Thread Martin Natano
On Wed, Mar 02, 2016 at 05:07:21PM +0100, Michal Mazurek wrote: > kern_sched.c: > - remove unused functions > - mark static functions as static Functions shouldn't be static in the kernel. "In userland, functions local to one source module should be declared ‘static’. This should not be done in k

kern_sched.c: unused functions

2016-03-02 Thread Michal Mazurek
kern_sched.c: - remove unused functions - mark static functions as static proc.h: - remove declarations - convert spaces to tabs - remove trailing empty line Index: sys/kern/kern_sched.c === RCS file: /cvs/src/sys/kern/kern_sched.c,v