diff options
author | Cai Huoqing <cai.huoqing@linux.dev> | 2022-02-09 11:27:13 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-15 17:05:32 +0100 |
commit | d6ef48e595823ef0ba37d78725350ceeeda0cb0a (patch) | |
tree | 76c57721c652bbbc509bda0e4eddd891862b147f /kernel/module-internal.h | |
parent | 2f8189beb4c84f7b259f37aead729d0aa9b2d2fb (diff) |
staging: most: video: 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/20220209032715.38437-1-cai.huoqing@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/module-internal.h')
0 files changed, 0 insertions, 0 deletions