From 07239fc854ec61b3cdc400d2a50d322d39c673f6 Mon Sep 17 00:00:00 2001 From: "long.wanglong" Date: Thu, 21 May 2015 09:47:22 -0700 Subject: [PATCH] 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-format-patch failed