提交 92f78ddb 编写于 作者: A Andy Shevchenko 提交者: Greg Kroah-Hartman

usbtmc: remove trailing spaces

Recent patch series introduces few trailing spaces. This patch removes them.
No functional change.
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 5dc50c35
......@@ -554,14 +554,14 @@ static ssize_t usbtmc_read(struct file *filp, char __user *buf,
if (remaining > n_characters)
remaining = n_characters;
/* Remove padding if it exists */
if (actual > remaining)
if (actual > remaining)
actual = remaining;
}
else {
if (this_part > n_characters)
this_part = n_characters;
/* Remove padding if it exists */
if (actual > this_part)
if (actual > this_part)
actual = this_part;
}
......@@ -585,7 +585,7 @@ static ssize_t usbtmc_read(struct file *filp, char __user *buf,
done += actual;
}
else {
if (actual > remaining)
if (actual > remaining)
actual = remaining;
remaining -= actual;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册