]> 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)
commitd4d96357b5e2fd550ae9c366b18dfcea5b926a41
tree450dfc85c4e3b495301e36a070107d24153a9eee
parent48d2d2085a6f6e1e27dc57ff523099e26fd79c35
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