[PATCH] device-mapper: Some missing statics
This patch makes some needlessly global code static. Signed-Off-By: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
f1daa40b63
commit
5e198d94dd
@@ -55,7 +55,7 @@ static struct target_type zero_target = {
|
||||
.map = zero_map,
|
||||
};
|
||||
|
||||
int __init dm_zero_init(void)
|
||||
static int __init dm_zero_init(void)
|
||||
{
|
||||
int r = dm_register_target(&zero_target);
|
||||
|
||||
@@ -65,7 +65,7 @@ int __init dm_zero_init(void)
|
||||
return r;
|
||||
}
|
||||
|
||||
void __exit dm_zero_exit(void)
|
||||
static void __exit dm_zero_exit(void)
|
||||
{
|
||||
int r = dm_unregister_target(&zero_target);
|
||||
|
||||
|
Reference in New Issue
Block a user