diff options
Diffstat (limited to 'arch/powerpc/kernel/nvram_64.c')
-rw-r--r-- | arch/powerpc/kernel/nvram_64.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/nvram_64.c b/arch/powerpc/kernel/nvram_64.c index ba979908d17d..4a4d785a08d3 100644 --- a/arch/powerpc/kernel/nvram_64.c +++ b/arch/powerpc/kernel/nvram_64.c | |||
@@ -38,10 +38,6 @@ static struct nvram_partition * nvram_part; | |||
38 | static long nvram_error_log_index = -1; | 38 | static long nvram_error_log_index = -1; |
39 | static long nvram_error_log_size = 0; | 39 | static long nvram_error_log_size = 0; |
40 | 40 | ||
41 | int no_logging = 1; /* Until we initialize everything, | ||
42 | * make sure we don't try logging | ||
43 | * anything */ | ||
44 | |||
45 | extern volatile int error_log_cnt; | 41 | extern volatile int error_log_cnt; |
46 | 42 | ||
47 | struct err_log_info { | 43 | struct err_log_info { |
@@ -637,10 +633,6 @@ int nvram_write_error_log(char * buff, int length, unsigned int err_type) | |||
637 | loff_t tmp_index; | 633 | loff_t tmp_index; |
638 | struct err_log_info info; | 634 | struct err_log_info info; |
639 | 635 | ||
640 | if (no_logging) { | ||
641 | return -EPERM; | ||
642 | } | ||
643 | |||
644 | if (nvram_error_log_index == -1) { | 636 | if (nvram_error_log_index == -1) { |
645 | return -ESPIPE; | 637 | return -ESPIPE; |
646 | } | 638 | } |