* [2.6 patch] deadline-iosched.c: make a struct static
@ 2005-01-29 13:35 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-01-29 13:35 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-kernel
This patch makes a needlessly global struct static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.11-rc2-mm1-full/drivers/block/deadline-iosched.c.old 2005-01-29 14:07:00.000000000 +0100
+++ linux-2.6.11-rc2-mm1-full/drivers/block/deadline-iosched.c 2005-01-29 14:07:10.000000000 +0100
@@ -909,7 +909,7 @@
.store = deadline_attr_store,
};
-struct kobj_type deadline_ktype = {
+static struct kobj_type deadline_ktype = {
.sysfs_ops = &deadline_sysfs_ops,
.default_attrs = default_attrs,
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* [2.6 patch] deadline-iosched.c: make a struct static
@ 2005-02-11 18:54 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-02-11 18:54 UTC (permalink / raw)
To: Andrew Morton; +Cc: Jens Axboe, linux-kernel
This patch makes a needlessly global struct static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 29 Jan 2005
--- linux-2.6.11-rc2-mm1-full/drivers/block/deadline-iosched.c.old 2005-01-29 14:07:00.000000000 +0100
+++ linux-2.6.11-rc2-mm1-full/drivers/block/deadline-iosched.c 2005-01-29 14:07:10.000000000 +0100
@@ -909,7 +909,7 @@
.store = deadline_attr_store,
};
-struct kobj_type deadline_ktype = {
+static struct kobj_type deadline_ktype = {
.sysfs_ops = &deadline_sysfs_ops,
.default_attrs = default_attrs,
};
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-11 19:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-29 13:35 [2.6 patch] deadline-iosched.c: make a struct static Adrian Bunk
2005-02-11 18:54 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).