commit | 57b9f569447c4ab7b2a7e34a13e468311db4cd64 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Tue Sep 13 03:35:20 2016 +0900 |
committer | Eric Anholt <eric@anholt.net> | Thu Oct 06 11:53:35 2016 -0700 |
tree | e6719af0a19a7958327ec1f25df79c8bfee87116 | |
parent | c2cbc38b9715bd8318062e600668fc30e5a3fbfa [diff] |
drm/vc4: cleanup with 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: Eric Anholt <eric@anholt.net>