Re: [PATCH 1/2] syscall_get_arch: remove useless function arguments

2014-03-21 Thread Richard Guy Briggs
On 14/03/11, Eric Paris wrote: > Every caller of syscall_get_arch() uses current for the task and no > implementors of the function need args. So just get rid of both of > those things. Admittedly, since these are inline functions we aren't > wasting stack space, but it just makes the prototypes

[PATCH 1/2] syscall_get_arch: remove useless function arguments

2014-03-11 Thread Eric Paris
Every caller of syscall_get_arch() uses current for the task and no implementors of the function need args. So just get rid of both of those things. Admittedly, since these are inline functions we aren't wasting stack space, but it just makes the prototypes better. Signed-off-by: Eric Paris Cc: