]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit32877b0fa648d11096525b8a0e6f7ad94761ec13
tree574260b18587dd65e5563abc016d945602749655
parent736982ede330e324132606ec35910eccdc3a6144
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