hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/ethernet/intel/fm10k/fm10k_tlv.c
....@@ -1,5 +1,5 @@
11 // SPDX-License-Identifier: GPL-2.0
2
-/* Copyright(c) 2013 - 2018 Intel Corporation. */
2
+/* Copyright(c) 2013 - 2019 Intel Corporation. */
33
44 #include "fm10k_tlv.h"
55
....@@ -472,7 +472,7 @@
472472 const struct fm10k_tlv_attr *tlv_attr)
473473 {
474474 u32 i, attr_id, offset = 0;
475
- s32 err = 0;
475
+ s32 err;
476476 u16 len;
477477
478478 /* verify pointers are not NULL */
....@@ -587,8 +587,9 @@
587587 * a minimum it just indicates that the message requested was
588588 * unimplemented.
589589 **/
590
-s32 fm10k_tlv_msg_error(struct fm10k_hw *hw, u32 **results,
591
- struct fm10k_mbx_info *mbx)
590
+s32 fm10k_tlv_msg_error(struct fm10k_hw __always_unused *hw,
591
+ u32 __always_unused **results,
592
+ struct fm10k_mbx_info __always_unused *mbx)
592593 {
593594 return FM10K_NOT_IMPLEMENTED;
594595 }