qed: Remove unnecessary '0' values from prod
Subsystems (3)
PATCH 1/1 qed: Remove unnecessary '0' values from prod
The prod variable is assigned first, it does not need to be initialized.
Signed-off-by Li zeming <[email protected]>
--- include/linux/qed/qed_if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/qed/qed_if.h +1 -1
@@ -1423,7 +1423,7 @@ struct qed_sb_cnt_info {static inline u16 qed_sb_update_sb_idx (struct qed_sb_info *sb_info) { -u32 prod =0 ; +u32 prod;u16 rc =0 ; prod = le32_to_cpu(sb_info->sb_virt->prod_index) &
Signature · 1 line
2.18.2