summaryrefslogtreecommitdiff
path: root/include/linux/pstore_ram.h
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-07-10 04:03:20 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-17 20:46:52 +0400
commitc1743cbc8d20d208bb1d2b10598204f2d89b144c (patch)
tree4731e84ed3656a1111352df00c46441f5aab765c /include/linux/pstore_ram.h
parent5ca5d4e61d0cac15f36160ab48425c6e43bf2e2f (diff)
downloadlinux-c1743cbc8d20d208bb1d2b10598204f2d89b144c.tar.xz
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>
Diffstat (limited to 'include/linux/pstore_ram.h')
-rw-r--r--include/linux/pstore_ram.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pstore_ram.h b/include/linux/pstore_ram.h
index 94b79f173365..dcf805f56bc6 100644
--- a/include/linux/pstore_ram.h
+++ b/include/linux/pstore_ram.h
@@ -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;