]> git.baikalelectronics.ru Git - kernel.git/commit
staging: octeon-usb: Remove unnecessary assignment
authorRehas Sachdeva <aquannie@gmail.com>
Wed, 21 Sep 2016 18:08:00 +0000 (23:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2016 09:54:48 +0000 (11:54 +0200)
commitd502d5dab600dc3c9efa72a6a557722ca9a62f50
tree7a8449f75aed0d9c2964d85012b502eb27773590
parentd8d29e6c81ca6a373ddd18c9198345eeb4217e0a
staging: octeon-usb: Remove unnecessary assignment

Remove 'x=a;' from a consecutive double assignment of the form 'x=a; x=b;'.
Issue detected by the semantic patch found here:
https://github.com/coccinelle/coccinellery/blob/master/write2/write2.cocci

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon-usb/octeon-hcd.c