pstore/ram_core: Get rid of prz->ecc_symsize and prz->ecc_poly
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Tue, 10 Jul 2012 00:03:18 +0000 (17:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 16:46:52 +0000 (09:46 -0700)
commit4a53ffae6afc94bab803087245b3b45e712c21c8
treeac8ef7567e1ac5c043f1cabddeae9ccaf3107694
parentd761074bfa05c763353c265aea3e8781f733a03e
pstore/ram_core: Get rid of prz->ecc_symsize and prz->ecc_poly

The struct members were never used anywhere outside of
persistent_ram_init_ecc(), so there's actually no need for them
to be in the struct.

If we ever want to make polynomial or symbol size configurable,
it would make more sense to just pass initialized rs_decoder
to the persistent_ram init functions.

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