Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc411bff authored by Jeff Hugo's avatar Jeff Hugo Committed by Arun Kumar Neelakantam
Browse files

soc: qcom: bam_dmux: Cleanup single statement macros



Single statement macros should not be enclosed in do {} while(0) loops per
CodingStyle.  Fix up the non-compliant instances.

Change-Id: I02abf3ec1b5553d296cc9ded96f68d37f131aa59
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 8527790e
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -131,13 +131,9 @@ static atomic_t bam_dmux_a2_pwr_cntl_in_cnt = ATOMIC_INIT(0);
				 bam_dmux_write_cpy_bytes);                 \
	} while (0)

#define DBG_INC_TX_SPS_FAILURE_CNT() do {	\
		bam_dmux_tx_sps_failure_cnt++;		\
} while (0)
#define DBG_INC_TX_SPS_FAILURE_CNT() (bam_dmux_tx_sps_failure_cnt++)

#define DBG_INC_TX_STALL_CNT() do { \
	bam_dmux_tx_stall_cnt++; \
} while (0)
#define DBG_INC_TX_STALL_CNT() (bam_dmux_tx_stall_cnt++)

#define DBG_INC_ACK_OUT_CNT() \
	atomic_inc(&bam_dmux_ack_out_cnt)