diff options
author | Krzysztof Mazur <krzysiek@podlesie.net> | 2013-08-22 14:49:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-23 10:47:17 -0700 |
commit | 3bbc47d8b07abad56780a8e214520259808c4f8b (patch) | |
tree | 6a7bf12ca876302c8ecf200c1ec1c9e476ebe3bf /tools/perf/scripts/python/syscall-counts.py | |
parent | e58547eb9561a8a72d46e2d411090a614d33ac0e (diff) |
usb: don't use bNbrPorts after initialization
After successful initialization hub->descriptor->bNbrPorts and
hub->hdev->maxchild are equal, but using hub->hdev->maxchild is
preferred because that value is explicitly used for initialization
of hub->ports[].
Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions