diff options
| author | Ivan Safonov <[email protected]> | 2017-04-16 23:21:15 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-04-18 16:48:26 +0200 |
| commit | f5332b000707b0b415291901846c4a8fc24f6a2e (patch) | |
| tree | 5e0f88ab36581200608c884301c24a4f7cb0aabb /net/unix/af_unix.c | |
| parent | ec1dafe8ec5f846d6b1b280309d8b03d25b096fd (diff) | |
usb: musb: cppi_dma.c: use DIV_ROUND_UP macro in cppi_next_(r|t)x_segment()
DIV_ROUND_UP is bit useful than series of "/" and "%" operations.
Replace "/%" sequence with DIV_ROUND_UP macro.
Signed-off-by: Ivan Safonov <[email protected]>
Signed-off-by: Bin Liu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions