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

Commit 26227e24 authored by Ingrid Gallardo's avatar Ingrid Gallardo
Browse files

Revert "staging: android: Cleanup style issues"



This reverts commit 95451355
("staging: android: Cleanup style issues").

Change-Id: Id807b19e82c8f4569cd12cf73b511ae41bc223b1
Signed-off-by: default avatarIngrid Gallardo <ingridg@codeaurora.org>
parent 1539f225
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -74,10 +74,9 @@ static const char *sync_status_str(int status)
{
	if (status == 0)
		return "signaled";

	if (status > 0)
	else if (status > 0)
		return "active";

	else
		return "error";
}

@@ -96,14 +95,12 @@ static void sync_print_pt(struct seq_file *s, struct sync_pt *pt, bool fence)

	if (status <= 0) {
		struct timeval tv = ktime_to_timeval(pt->base.timestamp);

		seq_printf(s, "@%ld.%06ld", tv.tv_sec, tv.tv_usec);
	}

	if (parent->ops->timeline_value_str &&
	    parent->ops->pt_value_str) {
		char value[64];

		parent->ops->pt_value_str(pt, value, sizeof(value));
		seq_printf(s, ": %s", value);
		if (fence) {
@@ -125,7 +122,6 @@ static void sync_print_obj(struct seq_file *s, struct sync_timeline *obj)

	if (obj->ops->timeline_value_str) {
		char value[64];

		obj->ops->timeline_value_str(obj, value, sizeof(value));
		seq_printf(s, ": %s", value);
	}
@@ -238,7 +234,6 @@ void sync_dump(void)
	for (i = 0; i < s.count; i += DUMP_CHUNK) {
		if ((s.count - i) > DUMP_CHUNK) {
			char c = s.buf[i + DUMP_CHUNK];

			s.buf[i + DUMP_CHUNK] = 0;
			pr_cont("%s", s.buf + i);
			s.buf[i + DUMP_CHUNK] = c;