OSDN Git Service

cxgb4: clean up init_one
authorGanesh Goudar <ganeshgr@chelsio.com>
Thu, 24 May 2018 13:02:15 +0000 (18:32 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 May 2018 18:59:38 +0000 (14:59 -0400)
commite8d452923ae6cdcf2fd7bf4fac4a3751eda56931
tree29e2c25762a26832571b00341d30321e559b2b94
parent57ccaedb74158be6d7d6edb255a6c153ec19e618
cxgb4: clean up init_one

clean up init_one and use chip_ver consistently throughout
init_one() for chip version.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_chip_type.h