[PATCH v1 0/7] xhci: mem: Short cleanup series

Andy Shevchenko posted 7 patches 2 years, 7 months ago
There is a newer version of this series
drivers/usb/host/xhci-mem.c | 85 +++++++++++++++----------------------
1 file changed, 35 insertions(+), 50 deletions(-)
[PATCH v1 0/7] xhci: mem: Short cleanup series
Posted by Andy Shevchenko 2 years, 7 months ago
Clean up xhci-mem.c a bit using latest and greatest Linux kernel
features.

Andy Shevchenko (7):
  xhci: mem: Carefully calculate size for memory allocations
  xhci: mem: Use __GFP_ZERO instead of explicit memset() call
  xhci: mem: Get rid of redundant 'else'
  xhci: mem: Drop useless return:s
  xhci: mem: Use while (i--) pattern to clean up
  xhci: mem: Replace explicit castings with appropriate specifiers
  xhci: mem: Join string literals back

 drivers/usb/host/xhci-mem.c | 85 +++++++++++++++----------------------
 1 file changed, 35 insertions(+), 50 deletions(-)

-- 
2.39.1