提交 00edb2ba 编写于 作者: J Jakub Kicinski 提交者: Tony Nguyen

i40e: remove enum i40e_client_state

It's not used.
Signed-off-by: NJakub Kicinski <kuba@kernel.org>
Reviewed-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: NGurucharan G <gurucharanx.g@intel.com>
Signed-off-by: NTony Nguyen <anthony.l.nguyen@intel.com>
上级 79f227c4
...@@ -26,11 +26,6 @@ struct i40e_client_version { ...@@ -26,11 +26,6 @@ struct i40e_client_version {
u8 rsvd; u8 rsvd;
}; };
enum i40e_client_state {
__I40E_CLIENT_NULL,
__I40E_CLIENT_REGISTERED
};
enum i40e_client_instance_state { enum i40e_client_instance_state {
__I40E_CLIENT_INSTANCE_NONE, __I40E_CLIENT_INSTANCE_NONE,
__I40E_CLIENT_INSTANCE_OPENED, __I40E_CLIENT_INSTANCE_OPENED,
...@@ -190,11 +185,6 @@ struct i40e_client { ...@@ -190,11 +185,6 @@ struct i40e_client {
const struct i40e_client_ops *ops; /* client ops provided by the client */ const struct i40e_client_ops *ops; /* client ops provided by the client */
}; };
static inline bool i40e_client_is_registered(struct i40e_client *client)
{
return test_bit(__I40E_CLIENT_REGISTERED, &client->state);
}
void i40e_client_device_register(struct i40e_info *ldev, struct i40e_client *client); void i40e_client_device_register(struct i40e_info *ldev, struct i40e_client *client);
void i40e_client_device_unregister(struct i40e_info *ldev); void i40e_client_device_unregister(struct i40e_info *ldev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册