summaryrefslogtreecommitdiff
path: root/drivers/edac/edac_mc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/edac_mc.c')
-rw-r--r--drivers/edac/edac_mc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index 6b3c4a65c9c8..ab2b48978888 100644
--- a/drivers/edac/edac_mc.c
+++ b/drivers/edac/edac_mc.c
@@ -1184,7 +1184,6 @@ void edac_mc_handle_error(const enum hw_event_mc_err_type type,
}
strcpy(p, dimm->label);
p += strlen(p);
- *p = '\0';
/*
* get csrow/channel of the DIMM, in order to allow