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>
This commit is contained in:
Anton Vorontsov 2012-07-09 17:03:20 -07:00 committed by Greg Kroah-Hartman
parent 5ca5d4e61d
commit c1743cbc8d
2 changed files with 4 additions and 7 deletions

View file

@ -33,7 +33,6 @@ struct persistent_ram_zone {
size_t buffer_size;
/* ECC correction */
bool ecc;
char *par_buffer;
char *par_header;
struct rs_control *rs_decoder;