mm: page_cgroup: check page_cgroup arrays in lookup_page_cgroup() only when necessary
[deliverable/linux.git] / kernel / res_counter.c
index 34683efa2cceee37f0a76db7531b8f5fc265a325..6d269cce7aa13c4593540f6aa80be389e3ffc720 100644 (file)
@@ -159,8 +159,7 @@ int res_counter_memparse_write_strategy(const char *buf,
                return 0;
        }
 
-       /* FIXME - make memparse() take const char* args */
-       *res = memparse((char *)buf, &end);
+       *res = memparse(buf, &end);
        if (*end != '\0')
                return -EINVAL;
 
This page took 0.027795 seconds and 5 git commands to generate.