From da7a233d3bfe3340a7014e76f05ce23bfe38d6e8 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Tue, 12 Dec 2006 20:05:50 +0100 Subject: [PATCH] --- yaml --- r: 44379 b: refs/heads/master c: df4365ce8829e84e8e6fe7d2371ea8f40630e865 h: refs/heads/master i: 44377: da094e1ec00cab03ef027c99751d003bb071b77b 44375: e2d65ad77776b4b77af7782664b9a064ca89ceda v: v3 --- [refs] | 2 +- trunk/include/linux/configfs.h | 25 ------------------------- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/[refs] b/[refs] index 81d58861dd00..0e4c6e81baa5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bef1f40261c8bc5ad2ca70a5a1760b0eb79b6812 +refs/heads/master: df4365ce8829e84e8e6fe7d2371ea8f40630e865 diff --git a/trunk/include/linux/configfs.h b/trunk/include/linux/configfs.h index a7f015027535..fef6f3d0a4a7 100644 --- a/trunk/include/linux/configfs.h +++ b/trunk/include/linux/configfs.h @@ -160,31 +160,6 @@ struct configfs_group_operations { void (*drop_item)(struct config_group *group, struct config_item *item); }; - - -/** - * Use these macros to make defining attributes easier. See include/linux/device.h - * for examples.. - */ - -#if 0 -#define __ATTR(_name,_mode,_show,_store) { \ - .attr = {.ca_name = __stringify(_name), .ca_mode = _mode, .ca_owner = THIS_MODULE }, \ - .show = _show, \ - .store = _store, \ -} - -#define __ATTR_RO(_name) { \ - .attr = { .ca_name = __stringify(_name), .ca_mode = 0444, .ca_owner = THIS_MODULE }, \ - .show = _name##_show, \ -} - -#define __ATTR_NULL { .attr = { .name = NULL } } - -#define attr_name(_attr) (_attr).attr.name -#endif - - struct configfs_subsystem { struct config_group su_group; struct semaphore su_sem;