diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2017-11-28 12:46:28 +0800 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-12-11 12:36:50 +0200 |
commit | a622ee9972aa42d4dbce3c62df8b19b2ba23d5c1 (patch) | |
tree | bb0c93422b4463de3199665dcc1a3953ce0147ab /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
parent | 204ec1af6257a52fb80f43317f949b345040f9d1 (diff) |
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/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions