aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/selinux/genheaders/genheaders.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-13 03:35:20 +0900
committerEric Anholt <eric@anholt.net>2016-10-06 11:53:35 -0700
commit57b9f569447c4ab7b2a7e34a13e468311db4cd64 (patch)
treee6719af0a19a7958327ec1f25df79c8bfee87116 /scripts/selinux/genheaders/genheaders.c
parentdrm: virtio: reinstate drm_virtio_set_busid() (diff)
downloadlinux-rng-57b9f569447c4ab7b2a7e34a13e468311db4cd64.tar.xz
linux-rng-57b9f569447c4ab7b2a7e34a13e468311db4cd64.zip
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>
Diffstat (limited to 'scripts/selinux/genheaders/genheaders.c')
0 files changed, 0 insertions, 0 deletions