usb/phy/phy-msm-usb.c:1109: possible missing break ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,

[linux-3.19-rc5/drivers/usb/phy/phy-msm-usb.c:1109] -> [linux-3.19-rc5/drivers/usb/phy/phy-msm-usb.c:1112]: (warning) Variable 'chg_state' is reassigned a value before the old one has been used. 'break;' missing?

Source code is

    case USB_CHG_STATE_SECONDARY_DONE:
        motg->chg_state = USB_CHG_STATE_DETECTED;
    case USB_CHG_STATE_DETECTED:

Suggest code rework.

Regards

David Binderman

 		 	   		  --
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux