]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/net/ethernet/intel/iavf/i40e_type.h
iavf: rename device ID defines
[linux.git] / drivers / net / ethernet / intel / iavf / i40e_type.h
index ba2e7d81bf46ba396a93d36f6bc0561114c7db4e..f04fa81e4ea378915bae9b35cdbe065ef34f9d05 100644 (file)
@@ -193,12 +193,6 @@ struct i40e_hw {
        char err_str[16];
 };
 
-static inline bool i40e_is_vf(struct i40e_hw *hw)
-{
-       return (hw->mac.type == I40E_MAC_VF ||
-               hw->mac.type == I40E_MAC_X722_VF);
-}
-
 struct i40e_driver_version {
        u8 major_version;
        u8 minor_version;