powerpc/BSR: Make use of the helper macro LIST_HEAD()
authorCai Huoqing <cai.huoqing@linux.dev>
Wed, 9 Feb 2022 03:24:50 +0000 (11:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 11:10:15 +0000 (12:10 +0100)
commitaef3125dd6db982cdeed0d3f1ba68211e44e6cde
tree7f389677bac72c307cda6c1744d65088c45131fe
parent4044fe5525adb65ce0ce9931b8f23fc3ab1aa758
powerpc/BSR: 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.

Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
Link: https://lore.kernel.org/r/20220209032450.37849-1-cai.huoqing@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/bsr.c