diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-12 21:08:17 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-14 16:40:46 +0300 |
commit | 360af35b08da9def3be8b67398f4e0f90c292e37 (patch) | |
tree | 8afea3d372107ddc4f45b4c903fad056f58a0626 /include/linux/cred.h | |
parent | aa570be6de67f3772cc850a7bfbe659214aa9ee4 (diff) | |
download | linux-360af35b08da9def3be8b67398f4e0f90c292e37.tar.xz |
dmaengine: 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>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/cred.h')
0 files changed, 0 insertions, 0 deletions