driver: staging: wlan-ng: Removed multiple assignments
authorSherif Shehab Aldin <shehabaldin.sherif@gmail.com>
Sat, 5 Apr 2014 21:34:56 +0000 (23:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 21:54:11 +0000 (14:54 -0700)
Removed multiple assignments from hfa384x_usb.c

Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c

index 1a6116a5093ce2223d5eba9de71f50c3a34acc2a..cf2703062e96e2685773930c05a9f0a47f009b54 100644 (file)
@@ -2599,7 +2599,8 @@ int hfa384x_drvr_start(hfa384x_t *hw)
         */
        result1 = hfa384x_cmd_initialize(hw);
        msleep(1000);
-       result = result2 = hfa384x_cmd_initialize(hw);
+       result = hfa384x_cmd_initialize(hw);
+       result2 = result;
        if (result1 != 0) {
                if (result2 != 0) {
                        netdev_err(hw->wlandev->netdev,