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

Commit f1eea891 authored by Jani Nikula's avatar Jani Nikula
Browse files

drm/i915/fixed: simplify is_fixed16_zero()

parent e7a23816
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -14,9 +14,7 @@ typedef struct {

static inline bool is_fixed16_zero(uint_fixed_16_16_t val)
{
	if (val.val == 0)
		return true;
	return false;
	return val.val == 0;
}

static inline uint_fixed_16_16_t u32_to_fixed16(u32 val)