]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cxgb4: Refactor t4_port_init function
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 26 Apr 2016 14:40:26 +0000 (20:10 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 17:23:57 +0000 (13:23 -0400)
commitc3e324e3d0662661f53c80fee28d70b6713f9dc8
tree971123ba1290d943ae0dc700e3db69e8cb2b9a81
parentbe81a2deb1134c47fadb10cb0bd6540caf6f32d7
cxgb4: Refactor t4_port_init function

Refactor t4_port_init() so that the core functionality is done by
t4_init_portinfo() for a particular port. Also rename variables to
sensible ones.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c