Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i40e: remove enum i40e_client_state

It's not used.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>

authored by

Jakub Kicinski and committed by
Tony Nguyen
00edb2ba 79f227c4

-10
-10
include/linux/net/intel/i40e_client.h
··· 26 26 u8 rsvd; 27 27 }; 28 28 29 - enum i40e_client_state { 30 - __I40E_CLIENT_NULL, 31 - __I40E_CLIENT_REGISTERED 32 - }; 33 - 34 29 enum i40e_client_instance_state { 35 30 __I40E_CLIENT_INSTANCE_NONE, 36 31 __I40E_CLIENT_INSTANCE_OPENED, ··· 184 189 #define I40E_CLIENT_IWARP 0 185 190 const struct i40e_client_ops *ops; /* client ops provided by the client */ 186 191 }; 187 - 188 - static inline bool i40e_client_is_registered(struct i40e_client *client) 189 - { 190 - return test_bit(__I40E_CLIENT_REGISTERED, &client->state); 191 - } 192 192 193 193 void i40e_client_device_register(struct i40e_info *ldev, struct i40e_client *client); 194 194 void i40e_client_device_unregister(struct i40e_info *ldev);