aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2016-09-12 18:35:20 +0000
committerEric Anholt <[email protected]>2016-10-06 18:53:35 +0000
commit57b9f569447c4ab7b2a7e34a13e468311db4cd64 (patch)
treee6719af0a19a7958327ec1f25df79c8bfee87116 /net/switchdev/switchdev.c
parentdrm: virtio: reinstate drm_virtio_set_busid() (diff)
downloadkernel-57b9f569447c4ab7b2a7e34a13e468311db4cd64.tar.gz
kernel-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 <[email protected]> Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions