diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2006-12-12 14:05:50 -0500 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-12-12 14:05:50 -0500 |
commit | df4365ce8829e84e8e6fe7d2371ea8f40630e865 (patch) | |
tree | e37ad3f5dd699272ad48204059a58c77d5a5a6f9 | |
parent | bef1f40261c8bc5ad2ca70a5a1760b0eb79b6812 (diff) |
configfs.h: Remove dead macro definitions.
Delete the __ATTR-related macro definitions since these are now
defined in include/linux/sysfs.h.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r-- | include/linux/configfs.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/include/linux/configfs.h b/include/linux/configfs.h index a7f015027535..fef6f3d0a4a7 100644 --- a/include/linux/configfs.h +++ b/include/linux/configfs.h | |||
@@ -160,31 +160,6 @@ struct configfs_group_operations { | |||
160 | void (*drop_item)(struct config_group *group, struct config_item *item); | 160 | void (*drop_item)(struct config_group *group, struct config_item *item); |
161 | }; | 161 | }; |
162 | 162 | ||
163 | |||
164 | |||
165 | /** | ||
166 | * Use these macros to make defining attributes easier. See include/linux/device.h | ||
167 | * for examples.. | ||
168 | */ | ||
169 | |||
170 | #if 0 | ||
171 | #define __ATTR(_name,_mode,_show,_store) { \ | ||
172 | .attr = {.ca_name = __stringify(_name), .ca_mode = _mode, .ca_owner = THIS_MODULE }, \ | ||
173 | .show = _show, \ | ||
174 | .store = _store, \ | ||
175 | } | ||
176 | |||
177 | #define __ATTR_RO(_name) { \ | ||
178 | .attr = { .ca_name = __stringify(_name), .ca_mode = 0444, .ca_owner = THIS_MODULE }, \ | ||
179 | .show = _name##_show, \ | ||
180 | } | ||
181 | |||
182 | #define __ATTR_NULL { .attr = { .name = NULL } } | ||
183 | |||
184 | #define attr_name(_attr) (_attr).attr.name | ||
185 | #endif | ||
186 | |||
187 | |||
188 | struct configfs_subsystem { | 163 | struct configfs_subsystem { |
189 | struct config_group su_group; | 164 | struct config_group su_group; |
190 | struct semaphore su_sem; | 165 | struct semaphore su_sem; |