summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorJules Maselbas <jules.maselbas@grenoble-inp.org>2017-10-31 13:40:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-01 19:11:05 +0300
commit892f6ebc53ac1a12a26c21eb26d18064461a7007 (patch)
tree72050dfbb143115a0fe20fdd93f035a8f43c6c96 /virt
parent4756f35fdf1403f7f7afaed67a16b6c4a702b903 (diff)
downloadlinux-892f6ebc53ac1a12a26c21eb26d18064461a7007.tar.xz
usb: host: max3421-hcd: Remove pdata test in max3421_hub_control()
We do not have to test if platform_data pointer is null in max3421_hub_control(), as the driver probe will fail if no platform_data is found. Fixes: 721fdc83b31b ("usb: max3421: Add devicetree support") Signed-off-by: Jules Maselbas <jules.maselbas@grenoble-inp.org> Reported-by: Julia Lawall <julia.lawall@lip6.fr> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions