mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
ix: Mark variables only used in debug traces as unused.
This commit is contained in:
parent
bf73b06771
commit
c1710eaf32
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue