Commits
![long.wanglong](https://secure.gravatar.com/avatar/2b29c42c89d18b0e32b8a5a0b8b343f5.jpg?s=96&d=mm)
long.wanglong committed 07239fc854e
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 <long.wanglong@huawei.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tony Luck <tony.luck@intel.com>