diff options
author | Rahul Verma <rahul.verma@qlogic.com> | 2016-04-10 12:42:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-14 07:43:20 +0300 |
commit | 95114344ea78649b1797d00ab6e88147bef66fa4 (patch) | |
tree | 6635691f93a82884553aee0f9832266885532f77 /drivers/net/ethernet/qlogic/qed/qed_main.c | |
parent | 6c61403daea578dcfe84f187c204db1a3fa3d6ae (diff) | |
download | linux-95114344ea78649b1797d00ab6e88147bef66fa4.tar.xz |
qed*: remove version dependency
Inbox drivers don't need versioning scheme in order to guarantee
compatibility, as both qed and qede are compiled from same codebase.
Signed-off-by: Rahul Verma <rahul.verma@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_main.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_main.c b/drivers/net/ethernet/qlogic/qed/qed_main.c index 26d40db07ddd..c31d485f72d6 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_main.c +++ b/drivers/net/ethernet/qlogic/qed/qed_main.c @@ -1172,14 +1172,3 @@ const struct qed_common_ops qed_common_ops_pass = { .chain_free = &qed_chain_free, .set_led = &qed_set_led, }; - -u32 qed_get_protocol_version(enum qed_protocol protocol) -{ - switch (protocol) { - case QED_PROTOCOL_ETH: - return QED_ETH_INTERFACE_VERSION; - default: - return 0; - } -} -EXPORT_SYMBOL(qed_get_protocol_version); |