]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4vf: Remove redundant adapter ready check during probe
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 1 Mar 2016 11:49:35 +0000 (17:19 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 19:46:30 +0000 (14:46 -0500)
commitcb4fbbc900af67e7edab560cb3d9441323724670
tree8d0218c6d67dee6e7232e86a5604ce966f3b4b18
parentcafa07ba2ef7a9ff93f01abd1e39ccff66862bd0
cxgb4vf: Remove redundant adapter ready check during probe

Function t4vf_wait_dev_ready() is already called in t4vf_prep_adapter(),
no need to call it again in adap_init0().

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