lkml.org 
[lkml]   [2008]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Make static

* roel kluin <roel.kluin@gmail.com> wrote:

> Make static
>
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
> ---
>
> Building an allnoconfig, sparse asked whether these could be static,
> so I checked, and they are only used in the file where they are
> declared. This means that they can be static, am I forgetting
> something? This was build and checkpatch tested.

yeah, it's correct!

> arch/x86/boot/video-bios.c | 4 ++--
> arch/x86/boot/video-vesa.c | 4 ++--
> arch/x86/kernel/xsave.c | 2 +-

i've applied these bits to tip/x86/urgent,

> kernel/irq/proc.c | 2 +-

this bit to tip/irq/urgent,

> kernel/printk.c | 2 +-

and this bit to tip/core/urgent.

Thanks Roel,

Ingo


\
 
 \ /
  Last update: 2008-10-22 08:21    [W:0.044 / U:14.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site