summaryrefslogtreecommitdiffstats
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-02-09 20:28:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-15 17:10:50 +0100
commit83e5f11b8f238259bd6b47022888c573a461b971 (patch)
tree3f6308a121afde1c0bac4c9a5bc90f0da8570313 /tools/lib/python/kdoc/python_version.py
parent167390093b9f2265c14aae4147b659adac5968cd (diff)
downloadlinux-83e5f11b8f238259bd6b47022888c573a461b971.tar.gz
linux-83e5f11b8f238259bd6b47022888c573a461b971.zip
staging: r8188eu: remove ishighspeed from dvobj_priv
There's no need to store the usb device speed in struct dvobj_priv. We can read the speed from struct usb_device. dvobj_priv has a pointer to the usb_device. Reorder one if-statement to make the code clearer. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220209192842.99399-1-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions