Commit dfd94488 authored by Tina Johnson's avatar Tina Johnson Committed by Greg Kroah-Hartman

Staging: ft1000: ft1000-usb: Removed unnecessary parentheses

Unnecessary parentheses around the right hand side of an assignment
is removed using the following semantic patch:

@@
identifier x,f;
constant C;
@@
(
-x = (f / C );
+x = f / C ;
|
-x = (f % C );
+x = f % C ;
)
Signed-off-by: default avatarTina Johnson <tinajohnson.1234@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9ab6388c
......@@ -837,7 +837,7 @@ int scram_dnldr(struct ft1000_usb *ft1000dev, void *pFileStart,
if (word_length & 0x1)
word_length++;
word_length = (word_length / 2);
word_length = word_length / 2;
for (; word_length > 0; word_length--) { /* In words */
......@@ -871,7 +871,7 @@ int scram_dnldr(struct ft1000_usb *ft1000dev, void *pFileStart,
if (word_length & 0x1)
word_length++;
word_length = (word_length / 2);
word_length = word_length / 2;
for (; word_length > 0; word_length--) { /* In words */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment