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:

committed by
Greg Kroah-Hartman

parent
5ca5d4e61d
commit
c1743cbc8d
@@ -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;
|
||||
|
Reference in New Issue
Block a user