]> git.karo-electronics.de Git - karo-tx-linux.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)
commitefb35d12b352c0603fe21a2199ba54aa61d22a54
tree7a8449f75aed0d9c2964d85012b502eb27773590
parent63e6464b62353988ef71fa28946fa9c5560d6469
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