backing-dev: remove compilation warning
authorMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 10 Dec 2014 20:55:16 +0000 (13:55 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 22 Dec 2014 17:49:56 +0000 (10:49 -0700)
Removed compilation warning introduced by back porting
aa01aa3ca205ea04f44423a58bae38aec886fb96 to 3.10

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
mm/backing-dev.c

index 50251749225885d958a1b531519326bd177ecf2e..8623ceac964b136c225b22667f0cf94224fb8fe4 100644 (file)
@@ -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),