checkpatch: [HLP]LIST_HEAD is also declaration
authorSteffen Maier <[email protected]>
Mon, 10 Jul 2017 22:52:10 +0000 (15:52 -0700)
committerLinus Torvalds <[email protected]>
Mon, 10 Jul 2017 23:32:35 +0000 (16:32 -0700)
commitfe658f94b2c911729afbffeeb1f5f03f0a26d9e6
tree098b4d57ac4aafc386e2fedf8cd4114fba7f7eab
parent628f91a28649d063a048629d9d15b3e5c4dcaa37
checkpatch: [HLP]LIST_HEAD is also declaration

Fixes the following false warning among others for LLIST_HEAD and
PLIST_HEAD:

    WARNING: Missing a blank line after declarations
    #71: FILE: drivers/s390/scsi/zfcp_fsf.c:422:
    + struct hlist_node *tmp;
    + HLIST_HEAD(remove_queue);

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Steffen Maier <[email protected]>
Acked-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
scripts/checkpatch.pl