summaryrefslogtreecommitdiff
path: root/include/linux/padata.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-04-12 10:40:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-27 16:40:23 +0200
commita46bec632371dfdd5372842c13ce3842f72d6972 (patch)
tree75cabc09f7ae6c1864a7775b82ad4f1ca4d882d2 /include/linux/padata.h
parenta8f580cb566437bc32dcac8222effafe47a90e70 (diff)
padata: get_next is never NULL
commit 69b348449bda0f9588737539cfe135774c9939a7 upstream. Per Dan's static checker warning, the code that returns NULL was removed in 2010, so this patch updates the comments and fixes the code assumptions. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Cc: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/padata.h')
0 files changed, 0 insertions, 0 deletions