diff options
| author | 2016-02-01 22:47:03 +0800 | |
|---|---|---|
| committer | 2016-02-07 19:53:04 -0800 | |
| commit | 818ff7b28b7777ac71d13215bc7a332e126da268 (patch) | |
| tree | cd16f34705947eb6775369996e83d15fcc66944a /tools/perf/scripts/python | |
| parent | Staging: rtl8712: rtl8712_cmd: Fixed a warning. (diff) | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
