Commit 140cf83d authored by Cristiane Naves's avatar Cristiane Naves Committed by Greg Kroah-Hartman
Browse files

staging: media: allegro-dvt: remove bool comparison

parent 6d7e7c31
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ static inline int rbsp_write_bit(struct rbsp *rbsp, bool value)

	rbsp->pos++;

	if (value == 1 ||
	if (value ||
	    (rbsp->num_consecutive_zeros < 7 && (rbsp->pos % 8 == 0))) {
		rbsp->num_consecutive_zeros = 0;
	} else {