]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
usb: host: remove unnecessary null check
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Tue, 2 May 2017 16:09:11 +0000 (11:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2017 10:20:53 +0000 (12:20 +0200)
commit2aa3add0cc8f4b937062f33332297486c95ae966
treed8e480c14b5cb67a0eae64afdfdd2b8f7eac0ba1
parenta86c309e71dc4f43c68483f7e328b1d4f9fef618
usb: host: remove unnecessary null check

Remove unnecessary null check. udev->tt cannot ever be NULL when this
section of code runs.

Addresses-Coverity-ID: 100828
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-sched.c