mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
5ca5d4e61d
commit
c1743cbc8d
2 changed files with 4 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue