diff options
author | Cai Huoqing <cai.huoqing@linux.dev> | 2022-02-09 11:24:21 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-25 12:09:56 +0100 |
commit | 4044fe5525adb65ce0ce9931b8f23fc3ab1aa758 (patch) | |
tree | da272a740ac63e819e3ac9ff799398042983f1e1 /drivers/misc/ocxl/Kconfig | |
parent | 20dde50ffe26be9cd446932e3eaf3f7d7db97423 (diff) |
ocxl: Make use of the helper macro LIST_HEAD()
Replace "struct list_head head = LIST_HEAD_INIT(head)" with
"LIST_HEAD(head)" to simplify the code.
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
Link: https://lore.kernel.org/r/20220209032421.37725-1-cai.huoqing@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/ocxl/Kconfig')
0 files changed, 0 insertions, 0 deletions