pstore/ram_core: Get rid of prz->ecc enable/disable flag
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Tue, 10 Jul 2012 00:03:20 +0000 (17:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 16:46:52 +0000 (09:46 -0700)
commitc1743cbc8d20d208bb1d2b10598204f2d89b144c
tree4731e84ed3656a1111352df00c46441f5aab765c
parent5ca5d4e61d0cac15f36160ab48425c6e43bf2e2f
pstore/ram_core: Get rid of prz->ecc enable/disable flag

Nowadays we can use prz->ecc_size as a flag, no need for the special
member in the prz struct.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/pstore/ram_core.c
include/linux/pstore_ram.h