aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2014-12-10 13:55:16 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2014-12-22 10:49:56 -0700
commit24006f88a31e8898a5c1067e603ffc6ba237ab91 (patch)
treef75df929ffbbc4a2d4a2535e0ea980d4e91cf3ef /mm
parent452f486a3a98aa1874515569d6347844e103c788 (diff)
downloadlinux-linaro-stable-24006f88a31e8898a5c1067e603ffc6ba237ab91.tar.gz
backing-dev: remove compilation warning
Removed compilation warning introduced by back porting aa01aa3ca205ea04f44423a58bae38aec886fb96 to 3.10 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/backing-dev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c
index 502517492258..8623ceac964b 100644
--- a/mm/backing-dev.c
+++ b/mm/backing-dev.c
@@ -232,8 +232,6 @@ static ssize_t stable_pages_required_show(struct device *dev,
bdi_cap_stable_pages_required(bdi) ? 1 : 0);
}
-#define __ATTR_RW(attr) __ATTR(attr, 0644, attr##_show, attr##_store)
-
static struct device_attribute bdi_dev_attrs[] = {
__ATTR_RW(read_ahead_kb),
__ATTR_RW(min_ratio),