lkml.org 
[lkml]   [2013]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH EDAC] edac: remove proc_name from mci structure
Date
proc_name isn't used anywhere. Remove it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
---
include/linux/edac.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/linux/edac.h b/include/linux/edac.h
index 28232a0..bd14f5c 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -48,7 +48,6 @@ static inline void opstate_init(void)
}

#define EDAC_MC_LABEL_LEN 31
-#define MC_PROC_NAME_MAX_LEN 7

/**
* enum dev_type - describe the type of memory DRAM chips used at the stick
@@ -634,7 +633,6 @@ struct mem_ctl_info {
const char *mod_ver;
const char *ctl_name;
const char *dev_name;
- char proc_name[MC_PROC_NAME_MAX_LEN + 1];
void *pvt_info;
unsigned long start_time; /* mci load start time (in jiffies) */

--
1.8.1.2


\
 
 \ /
  Last update: 2013-02-20 12:21    [W:0.024 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site