mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
staging: android: logger: fixed checkpatch.pl warnings.
Signed-off-by: Jerry Stralko <gerb.stralko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
403f8af323
commit
48d5bb4403
1 changed files with 3 additions and 4 deletions
|
@ -110,7 +110,7 @@ static inline struct logger_log *file_get_log(struct file *file)
|
||||||
struct logger_reader *reader = file->private_data;
|
struct logger_reader *reader = file->private_data;
|
||||||
|
|
||||||
return reader->log;
|
return reader->log;
|
||||||
} else
|
}
|
||||||
return file->private_data;
|
return file->private_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -159,7 +159,6 @@ static size_t get_user_hdr_len(int ver)
|
||||||
{
|
{
|
||||||
if (ver < 2)
|
if (ver < 2)
|
||||||
return sizeof(struct user_logger_entry_compat);
|
return sizeof(struct user_logger_entry_compat);
|
||||||
else
|
|
||||||
return sizeof(struct logger_entry);
|
return sizeof(struct logger_entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue