diff options
author | 2017-11-28 12:46:28 +0800 | |
---|---|---|
committer | 2017-12-11 12:36:50 +0200 | |
commit | a622ee9972aa42d4dbce3c62df8b19b2ba23d5c1 (patch) | |
tree | bb0c93422b4463de3199665dcc1a3953ce0147ab /drivers/usb/dwc3/core.c | |
parent | usb: dwc3: Make sparse a bit happier (diff) | |
download | wireguard-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