Skip to content
Commit a622ee99 authored by Lu Baolu's avatar Lu Baolu Committed by Felipe Balbi
Browse files

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: default avatarLu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 204ec1af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment