On Tue, Feb 14, 2017 at 11:10:32AM -0800, Liu Bo wrote: > @pnr is only used here, it can be removed, too. > > So does @max_nr.
Right, thanks. Patch udpated. I've tried if this can be caught by '-Wunused-but-set-variable', strangely only max_nr is reported: fs/btrfs/extent_io.c: In function ‘__extent_writepage_io’: fs/btrfs/extent_io.c:3368:17: warning: variable ‘max_nr’ set but not used [-Wunused-but-set-variable] unsigned long max_nr; -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html