diff options
| author | Colin Ian King <[email protected]> | 2019-05-08 23:42:01 +0100 |
|---|---|---|
| committer | Tony Luck <[email protected]> | 2019-06-20 11:44:36 -0700 |
| commit | 0042e9e7a5f662d7b8226316369d02c3553d6400 (patch) | |
| tree | 1ba1a7c58f116151b5dbbfec3e0f640a5cc74f34 | |
| parent | 109d789922f157a569f5e56cbf4a717187567543 (diff) | |
EDAC/sb_edac: Remove redundant update of tad_base
The variable tad_base is being set to a value that is never read and is
being over-written on the next iteration of a for-loop. This assignment
is therefore redundant and can be removed.
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Tony Luck <[email protected]>
Cc: James Morse <[email protected]>
Cc: [email protected]
Cc: linux-edac <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Qiuxu Zhuo <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
| -rw-r--r-- | drivers/edac/sb_edac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index fa700a170380..37746b045e18 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c @@ -1511,7 +1511,6 @@ static int knl_get_dimm_capacity(struct sbridge_pvt *pvt, u64 *mc_sizes) sad_actual_size[mc] += tad_size; } } - tad_base = tad_limit+1; } } |