commit | daa47f2132dce31fcab7c6ebdcb957e598c768f2 | [log] [tgz] |
---|---|---|
author | Lu Baolu <baolu.lu@linux.intel.com> | Mon Jan 23 14:20:02 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 25 10:57:35 2017 +0100 |
tree | 7180d6ac32288445ae96d677759a65d49048a76b | |
parent | fb79a6da459b20554151eed84c991cd9bd35ff15 [diff] |
usb: xhci: use list_is_singular for cmd_list Use list_is_singular() to check if cmd_list has only one entry. [use list_empty() in queue command instead -Mathias] Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>