diff options
author | Borislav Petkov <bp@suse.de> | 2022-02-20 22:34:54 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-11 11:25:39 +0200 |
commit | 0bbb265f7089584aaa6d440805ca75ea4f3930d4 (patch) | |
tree | 1839665e04168dc5be80ef87cf499563de66963d /drivers/edac/edac_device_sysfs.c | |
parent | Linux 5.18-rc1 (diff) | |
download | linux-0bbb265f7089584aaa6d440805ca75ea4f3930d4.tar.xz linux-0bbb265f7089584aaa6d440805ca75ea4f3930d4.zip |
EDAC/mc: Get rid of silly one-shot struct allocation in edac_mc_alloc()
This has probably meant something at some point but there's no need for
it anymore - the struct mem_ctl_info allocation can happen with normal,
boring k*alloc() calls like everyone else does it.
No functional changes.
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220310095254.1510-2-bp@alien8.de
Diffstat (limited to 'drivers/edac/edac_device_sysfs.c')
0 files changed, 0 insertions, 0 deletions