]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC/mc: Get rid of silly one-shot struct allocation in edac_mc_alloc()
authorBorislav Petkov <bp@suse.de>
Sun, 20 Feb 2022 21:34:54 +0000 (22:34 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 11 Apr 2022 09:25:39 +0000 (11:25 +0200)
commita5d8929d19f54f5111a681b36e847f81154379cc
tree1839665e04168dc5be80ef87cf499563de66963d
parent6d94017b7b59bab528be97be158d0d602982e3a6
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
drivers/edac/edac_mc.c