]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: Use DIV_ROUND_UP instead of reimplementing its function
authorzhong jiang <zhongjiang@huawei.com>
Tue, 11 Sep 2018 13:08:15 +0000 (21:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 03:34:47 +0000 (20:34 -0700)
commitf2ed6c21abd460b06ee05c6fcf63f6c08ac40e15
tree6204f0a1b89706cc0b513394e74eabae8c369c0d
parent1707903f8ead1f839e548413eb12f3c82e1cae37
net: ethernet: Use DIV_ROUND_UP instead of reimplementing its function

DIV_ROUND_UP has implemented the code-opened function. Therefore, just
replace the implementation with DIV_ROUND_UP.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Acked-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/sb1250-mac.c
drivers/net/ethernet/cavium/liquidio/octeon_droq.c
drivers/net/ethernet/freescale/gianfar_ethtool.c
drivers/net/ethernet/ibm/emac/mal.h
drivers/net/ethernet/mellanox/mlx4/alloc.c
drivers/net/ethernet/mellanox/mlx4/icm.c
drivers/net/ethernet/mellanox/mlx5/core/srq.c
drivers/net/ethernet/neterion/s2io.c