summaryrefslogtreecommitdiffstats
path: root/drivers/uwb
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-05-21 02:05:31 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-25 14:30:13 +0200
commit9b4632ef3ff2097495e3724e7c4c1a307cbcfce4 (patch)
tree70871f32f8a0f06c918b5fdf33938138c81703e7 /drivers/uwb
parent4642d34a439f80e16af0d56ed6258a33abae257a (diff)
downloadop-kernel-dev-9b4632ef3ff2097495e3724e7c4c1a307cbcfce4.zip
op-kernel-dev-9b4632ef3ff2097495e3724e7c4c1a307cbcfce4.tar.gz
usb: mtu3: cleanup with list_first_entry_or_null()
The combo of list_empty() and list_first_entry() can be replaced with list_first_entry_or_null(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud