aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-starfive.c
diff options
context:
space:
mode:
authorNiklas Neronin <[email protected]>2024-11-06 10:14:54 +0000
committerGreg Kroah-Hartman <[email protected]>2024-11-06 12:26:16 +0000
commit7acfea2866acc6c888f880e28a249bc5ce069ad0 (patch)
tree0bfba1ec11d0e396ff18e6ef2654ecb3de388f15 /drivers/usb/cdns3/cdns3-starfive.c
parentusb: xhci: remove unused arguments from td_to_noop() (diff)
downloadkernel-7acfea2866acc6c888f880e28a249bc5ce069ad0.tar.gz
kernel-7acfea2866acc6c888f880e28a249bc5ce069ad0.zip
usb: xhci: refactor xhci_td_cleanup() to return void
The function is modified to return 'void' instead of an integer since it invariably returns '0'. Additionally, multiple functions which only return xhci_td_cleanup() are also refactored to return void. This change eliminates the need for callers to handle a return value that does not convey meaningful information and improve code readability, as it becomes immediately clear that the function does not produce a significant output. Signed-off-by: Niklas Neronin <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions