On Thu, Jul 14, 2022 at 06:09:51PM +0200, Patryk Duda wrote:> @@ -750,6 +750,7 @@ int cros_ec_get_next_event(struct cros_ec_device *ec_dev,> u8 event_type;> u32 host_event;> int ret;> + u32 ver_mask = 0;Drop the initialization. Ideally, `ver_mask` wouldn't be touched if `ret` isless than 0.