OSDN Git Service

mlx4: Split restart_one into two functions
authorJiri Pirko <jiri@mellanox.com>
Thu, 12 Sep 2019 08:49:44 +0000 (10:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Sep 2019 20:11:14 +0000 (22:11 +0200)
commit35c7ff349a2d1df1b59909f67ba4ddcd84ad934e
tree574260b18587dd65e5563abc016d945602749655
parentc6af0c227a22bb6bb8ff72f043e0fb6d99fd6515
mlx4: Split restart_one into two functions

Split the function restart_one into two functions and separate teardown
and buildup.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/catas.c
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/mlx4.h