• Jeff Dike's avatar
    uml: tidy process.c · 6e21aec3
    Jeff Dike authored
    Clean up arch/um/kernel/process.c:
    
    - lots of return(x); -> return x; conversions
    
    - a number of the small functions are either unused, in which case they are
      gone, along any declarations in a header, or could be made static.
    
    - current_pid is ifdefed on CONFIG_MODE_TT and its declaration is ifdefed on
      both CONFIG_MODE_TT and UML_CONFIG_MODE_TT because we don't know whether
      it's being used in a userspace or kernel file.
    Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    6e21aec3
um_malloc.h 369 Bytes