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

Commit cb2ec2ef authored by Chase Metzger's avatar Chase Metzger Committed by Greg Kroah-Hartman
Browse files

staging: greybus: timesync.c: Fixed WARNING for brace issue



Removed a checkpatch warning for braces on single argument if and else
statement.

Signed-off-by: default avatarChase Metzger <chasemetzger15@gmail.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cf3ba55d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -807,11 +807,11 @@ static int gb_timesync_schedule(struct gb_timesync_svc *timesync_svc, int state)
		return -EINVAL;

	mutex_lock(&timesync_svc->mutex);
	if (timesync_svc->state !=  GB_TIMESYNC_STATE_INVALID) {
	if (timesync_svc->state !=  GB_TIMESYNC_STATE_INVALID)
		gb_timesync_set_state_atomic(timesync_svc, state);
	} else {
	else
		ret = -ENODEV;
	}

	mutex_unlock(&timesync_svc->mutex);
	return ret;
}