From: long.wanglong Date: Thu, 21 May 2015 16:47:22 +0000 (-0700) Subject: fs/pstore: Optimization function ramoops_init_przs X-Git-Tag: omap-for-v4.3/legacy-v2-signed~155^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07239fc854ec61b3cdc400d2a50d322d39c673f6;p=pandora-kernel.git fs/pstore: Optimization function ramoops_init_przs The value of cxt->record_size does not change in the loop, so this patch optimize the assign statement by dropping sz entirely and using cxt->record_size in its place. Signed-off-by: Wang Long Acked-by: Kees Cook Signed-off-by: Tony Luck --- Reading git-diff-tree failed