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)
commit94b295edc2c678212376a8aca9308cf6ee430b89
tree450dfc85c4e3b495301e36a070107d24153a9eee
parent8bcbf82f31a94f8e4f939ac57478d808263c3890
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