Merge "USB: u_data_ipa: Fix the issue that may return uninitialized value"

This commit is contained in:
Linux Build Service Account 2017-03-21 05:01:07 -07:00 committed by Gerrit - the friendly Code Review server
commit 25ed77f5bb

View file

@ -735,7 +735,7 @@ int ipa_data_connect(struct gadget_ipa_port *gp, enum ipa_func_type func,
{
struct ipa_data_ch_info *port;
unsigned long flags;
int ret;
int ret = 0;
pr_debug("dev:%pK port#%d src_connection_idx:%d dst_connection_idx:%d\n",
gp, func, src_connection_idx, dst_connection_idx);