diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-13 03:10:39 +0900 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-09-20 14:26:04 +0200 |
commit | f296190e41ee1e1e6912f0ddae09b28e9cfae48d (patch) | |
tree | 581f8993cd2c41f96cac539cdb9e590c4022bd89 /scripts | |
parent | 9078a54996a0989e25a04bbb9276bc340a52a673 (diff) | |
download | op-kernel-dev-f296190e41ee1e1e6912f0ddae09b28e9cfae48d.zip op-kernel-dev-f296190e41ee1e1e6912f0ddae09b28e9cfae48d.tar.gz |
s390/crashdump: use list_first_entry_or_null
The combo of list_empty() check and return list_first_entry()
can be replaced with list_first_entry_or_null().
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions