diff options
author | Jerry Stralko <gerb.stralko@gmail.com> | 2014-07-01 15:13:18 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 02:42:19 +0400 |
commit | 48d5bb4403a0380613267770f9dccb73ab7f98fa (patch) | |
tree | ae82e3613ac8b38ebf0ef448d6c5bda426541d19 /drivers/staging/android | |
parent | 403f8af323f0b3b1893ef257be5c5a41cd213d55 (diff) | |
download | linux-48d5bb4403a0380613267770f9dccb73ab7f98fa.tar.xz |
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>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r-- | drivers/staging/android/logger.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/android/logger.c b/drivers/staging/android/logger.c index 2772e01b37f5..9b47e66599a3 100644 --- a/drivers/staging/android/logger.c +++ b/drivers/staging/android/logger.c @@ -110,8 +110,8 @@ static inline struct logger_log *file_get_log(struct file *file) struct logger_reader *reader = file->private_data; return reader->log; - } else - return file->private_data; + } + return file->private_data; } /* @@ -159,8 +159,7 @@ static size_t get_user_hdr_len(int ver) { if (ver < 2) return sizeof(struct user_logger_entry_compat); - else - return sizeof(struct logger_entry); + return sizeof(struct logger_entry); } static ssize_t copy_header_to_user(int ver, struct logger_entry *entry, |