EDAC: Get rid of mci->mod_ver
It is a write-only variable so get rid of it. Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Robert Richter <rric@kernel.org> Acked-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Thor Thayer <thor.thayer@linux.intel.com> Acked-by: Tony Luck <tony.luck@intel.com> Cc: Mark Gross <mark.gross@intel.com> Cc: Tim Small <tim@buttersideup.com> Cc: Ranganathan Desikan <ravi@jetztechnologies.com> Cc: "Arvind R." <arvino55@gmail.com> Cc: Jason Baron <jbaron@akamai.com> Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: David Daney <david.daney@cavium.com> Cc: Loc Ho <lho@apm.com> Cc: linux-edac@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mips@linux-mips.org
This commit is contained in:
@@ -31,8 +31,6 @@
|
||||
|
||||
#include "edac_module.h"
|
||||
|
||||
#define SKX_REVISION " Ver: 1.0 "
|
||||
|
||||
/*
|
||||
* Debug macros
|
||||
*/
|
||||
@@ -473,7 +471,6 @@ static int skx_register_mci(struct skx_imc *imc)
|
||||
mci->edac_cap = EDAC_FLAG_NONE;
|
||||
mci->mod_name = "skx_edac.c";
|
||||
mci->dev_name = pci_name(imc->chan[0].cdev);
|
||||
mci->mod_ver = SKX_REVISION;
|
||||
mci->ctl_page_to_phys = NULL;
|
||||
|
||||
rc = skx_get_dimm_config(mci);
|
||||
|
Reference in New Issue
Block a user