aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorZhang Rui <[email protected]>2024-02-02 17:21:40 +0800
committerGuenter Roeck <[email protected]>2024-02-25 12:37:37 -0800
commit87eb801925a0a391dce0d7519eb1d45a9d7e0953 (patch)
treea133d9ba3b35b1a135d806231ceaf2caa740316a /lib/test_fortify/write_overflow-strncpy-src.c
parent18d8f5583388f38094b3b17ad3149d2a93a23646 (diff)
hwmon: (coretemp) Remove redundant pdata->cpu_map[]
pdata->cpu_map[] saves the mapping between cpu core id and the index in pdata->core_data[]. This is used to find the temp_data structure using cpu_core_id, by traversing the pdata->cpu_map[] array. But the same goal can be achieved by traversing the pdata->core_temp[] array directly. Remove redundant pdata->cpu_map[]. No functional change. Signed-off-by: Zhang Rui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions