|
@@ -141,19 +141,10 @@ static
|
|
|
int __init qede_init(void)
|
|
|
{
|
|
|
int ret;
|
|
|
- u32 qed_ver;
|
|
|
|
|
|
pr_notice("qede_init: %s\n", version);
|
|
|
|
|
|
- qed_ver = qed_get_protocol_version(QED_PROTOCOL_ETH);
|
|
|
- if (qed_ver != QEDE_ETH_INTERFACE_VERSION) {
|
|
|
- pr_notice("Version mismatch [%08x != %08x]\n",
|
|
|
- qed_ver,
|
|
|
- QEDE_ETH_INTERFACE_VERSION);
|
|
|
- return -EINVAL;
|
|
|
- }
|
|
|
-
|
|
|
- qed_ops = qed_get_eth_ops(QEDE_ETH_INTERFACE_VERSION);
|
|
|
+ qed_ops = qed_get_eth_ops();
|
|
|
if (!qed_ops) {
|
|
|
pr_notice("Failed to get qed ethtool operations\n");
|
|
|
return -EINVAL;
|