commit | 3c6a4cba3138d1aeeb8fd917178c6578b9b8ae29 | [log] [tgz] |
---|---|---|
author | Luis Chamberlain <mcgrof@kernel.org> | Fri Apr 15 15:08:02 2022 -0700 |
committer | Luis Chamberlain <mcgrof@kernel.org> | Thu Apr 21 11:40:59 2022 -0700 |
tree | 7c1e20b45da8a27e770473fd7ecbe93f49e6c669 | |
parent | 988f11e046401f8561c4afefa506a50f0203de40 [diff] |
mm: fix unused variable kernel warning when SYSCTL=n When CONFIG_SYSCTL=n the variable dirty_bytes_min which is just used as a minimum to a proc handler is not used. So just move this under the ifdef for CONFIG_SYSCTL. Fixes: aa779e510219 ("mm: move page-writeback sysctls to their own file") Reported-by: kernel test robot <lkp@intel.com> Acked-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>