| .. | .. |
|---|
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
|---|
| 2 | | -/* Copyright(c) 2013 - 2018 Intel Corporation. */ |
|---|
| 2 | +/* Copyright(c) 2013 - 2019 Intel Corporation. */ |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | #include "fm10k_tlv.h" |
|---|
| 5 | 5 | |
|---|
| .. | .. |
|---|
| 472 | 472 | const struct fm10k_tlv_attr *tlv_attr) |
|---|
| 473 | 473 | { |
|---|
| 474 | 474 | u32 i, attr_id, offset = 0; |
|---|
| 475 | | - s32 err = 0; |
|---|
| 475 | + s32 err; |
|---|
| 476 | 476 | u16 len; |
|---|
| 477 | 477 | |
|---|
| 478 | 478 | /* verify pointers are not NULL */ |
|---|
| .. | .. |
|---|
| 587 | 587 | * a minimum it just indicates that the message requested was |
|---|
| 588 | 588 | * unimplemented. |
|---|
| 589 | 589 | **/ |
|---|
| 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) |
|---|
| 592 | 593 | { |
|---|
| 593 | 594 | return FM10K_NOT_IMPLEMENTED; |
|---|
| 594 | 595 | } |
|---|