diff options
| author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-23 15:20:09 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-25 12:59:06 +0300 |
| commit | 04861f83367eaa3f32e3a1433afe8274e9a5f7f1 (patch) | |
| tree | 5606325453336b857bd3323ba16c483c78e2fc73 /include/linux/timerqueue.h | |
| parent | ec84481708adc5e02c00d36262679237573fe618 (diff) | |
| download | linux-04861f83367eaa3f32e3a1433afe8274e9a5f7f1.tar.xz | |
usb: host: xhci: use slightly better list helpers
Replace list_entry() with list_first_entry() and list_for_each() with
list_for_each_entry(). This makes the code slightly more readable.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
