aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysfs.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-22 13:25:34 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-22 13:25:34 -0400
commit3e1026b3fa2f61d33ce6a9e42a22398cc4ab8e58 (patch)
treefda2502a6ecde59413a91be4a3f2df6e779bd5af /include/linux/sysfs.h
parent09239ed4aa99b2d2fd9b1a51b264661a4a6d469e (diff)
sysfs.h: remove attr_name() macro
Gotta love a macro that doesn't reduce the typing you have to do. Also, only the driver core, and one network driver uses this. The driver core functions will be going away soon, and I'll convert the network driver soon to not need this as well, so delete it for now before anyone else gets some bright ideas and wants to use it. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/sysfs.h')
-rw-r--r--include/linux/sysfs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h
index a864b8d918ee..b5a9d9b26bd4 100644
--- a/include/linux/sysfs.h
+++ b/include/linux/sysfs.h
@@ -108,8 +108,6 @@ static const struct attribute_group _name##_group = { \
108}; \ 108}; \
109__ATTRIBUTE_GROUPS(_name) 109__ATTRIBUTE_GROUPS(_name)
110 110
111#define attr_name(_attr) (_attr).attr.name
112
113struct file; 111struct file;
114struct vm_area_struct; 112struct vm_area_struct;
115 113