summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-zero.c
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2005-05-05 16:16:09 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-05 16:36:46 -0700
commit5e198d94dd0c3ec7f6138229e2e412c2c6268c38 (patch)
tree303c284a5a90e813ca1c92a0c3698a63089a86b2 /drivers/md/dm-zero.c
parentf1daa40b638891a62e1be40f78d752c500265362 (diff)
downloadop-kernel-dev-5e198d94dd0c3ec7f6138229e2e412c2c6268c38.zip
op-kernel-dev-5e198d94dd0c3ec7f6138229e2e412c2c6268c38.tar.gz
[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>
Diffstat (limited to 'drivers/md/dm-zero.c')
-rw-r--r--drivers/md/dm-zero.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-zero.c b/drivers/md/dm-zero.c
index 7febc2c..51c0639 100644
--- a/drivers/md/dm-zero.c
+++ b/drivers/md/dm-zero.c
@@ -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);
OpenPOWER on IntegriCloud