HID: hidraw: Replace Confusing += Operator with =
authorAlan Ott <alan@signal11.us>
Thu, 27 Jan 2011 03:25:18 +0000 (22:25 -0500)
committerJiri Kosina <jkosina@suse.cz>
Mon, 31 Jan 2011 14:43:46 +0000 (15:43 +0100)
Setting of the return value of hidraw_read() uses the += operator when
= is more appropriate.  There is no case where ret can be anything
other than zero when the assignment is made, making = equivalent to
+= and much more clear.

Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found