]> git.baikalelectronics.ru Git - kernel.git/commit
net/macb: replace macb_count_tx_descriptors() by DIV_ROUND_UP()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 24 Jul 2015 18:24:03 +0000 (21:24 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 08:10:29 +0000 (01:10 -0700)
commit2e5f86cb59d23eb37df2d26001496b0fff53e67c
tree450dfc85c4e3b495301e36a070107d24153a9eee
parentbcf3382eb75f8d741a5a8bc47d4f37e2dd880301
net/macb: replace macb_count_tx_descriptors() by DIV_ROUND_UP()

macb_count_tx_descriptors() repeats the generic macro DIV_ROUND_UP(). The patch
does a replacement.

There is no functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c