aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/dwc3/core.c
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2017-11-28 12:46:28 +0800
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-12-11 12:36:50 +0200
commita622ee9972aa42d4dbce3c62df8b19b2ba23d5c1 (patch)
treebb0c93422b4463de3199665dcc1a3953ce0147ab /drivers/usb/dwc3/core.c
parentusb: dwc3: Make sparse a bit happier (diff)
downloadwireguard-linux-a622ee9972aa42d4dbce3c62df8b19b2ba23d5c1.tar.xz
wireguard-linux-a622ee9972aa42d4dbce3c62df8b19b2ba23d5c1.zip
usb: gadget: u_serial: Use kfifo instead of homemade circular buffer
The kernel FIFO implementation, kfifo, provides interfaces to manipulate a first-in-first-out circular buffer. Use kfifo instead of the homemade one to make the code more concise and readable. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.c')
0 files changed, 0 insertions, 0 deletions