ixgbe: DCB remove ixgbe_fcoe_getapp routine
[firefly-linux-kernel-4.4.55.git] / drivers / net / ixgbe / ixgbe_fcoe.c
index 00af15a9cdc66ade900df22eaa3f717dd77884e6..dba7d77588ef629bcdcc2d2b95f11d0625dc680d 100644 (file)
@@ -812,21 +812,6 @@ out_disable:
 }
 
 #ifdef CONFIG_IXGBE_DCB
-/**
- * ixgbe_fcoe_getapp - retrieves current user priority bitmap for FCoE
- * @adapter : ixgbe adapter
- *
- * Finds out the corresponding user priority bitmap from the current
- * traffic class that FCoE belongs to. Returns 0 as the invalid user
- * priority bitmap to indicate an error.
- *
- * Returns : 802.1p user priority bitmap for FCoE
- */
-u8 ixgbe_fcoe_getapp(struct ixgbe_adapter *adapter)
-{
-       return 1 << adapter->fcoe.up;
-}
-
 /**
  * ixgbe_fcoe_setapp - sets the user priority bitmap for FCoE
  * @adapter : ixgbe adapter