ix: Mark variables only used in debug traces as unused.

This commit is contained in:
John Baldwin 2022-04-06 16:45:29 -07:00
parent bf73b06771
commit c1710eaf32

View file

@ -1139,7 +1139,7 @@ s32 ixgbe_write_iosf_sb_reg_x550(struct ixgbe_hw *hw, u32 reg_addr,
u32 device_type, u32 data)
{
u32 gssr = IXGBE_GSSR_PHY1_SM | IXGBE_GSSR_PHY0_SM;
u32 command, error;
u32 command, error __unused;
s32 ret;
ret = ixgbe_acquire_swfw_semaphore(hw, gssr);
@ -1185,7 +1185,7 @@ s32 ixgbe_read_iosf_sb_reg_x550(struct ixgbe_hw *hw, u32 reg_addr,
u32 device_type, u32 *data)
{
u32 gssr = IXGBE_GSSR_PHY1_SM | IXGBE_GSSR_PHY0_SM;
u32 command, error;
u32 command, error __unused;
s32 ret;
ret = ixgbe_acquire_swfw_semaphore(hw, gssr);