summaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_ldsem.c
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@163.com>2016-02-01 22:47:03 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 19:53:04 -0800
commit818ff7b28b7777ac71d13215bc7a332e126da268 (patch)
treecd16f34705947eb6775369996e83d15fcc66944a /drivers/tty/tty_ldsem.c
parent97e2ba90fc89f375e88ad5d825c149fb82d8207b (diff)
downloadblackbird-op-linux-818ff7b28b7777ac71d13215bc7a332e126da268.tar.gz
blackbird-op-linux-818ff7b28b7777ac71d13215bc7a332e126da268.zip
staging: rtl8712: use list_first_entry_or_null()
Use list_first_entry_or_null() instead of list_empty() + LIST_CONTAINOR() to simplify the code. Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_ldsem.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud