mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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]
This commit is contained in:
parent
109d789922
commit
0042e9e7a5
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue