Skip to content

Commit

Permalink
Merge "mhi: netdev: Avoid free of netdev client,ipc handles"
Browse files Browse the repository at this point in the history
  • Loading branch information
qctecmdr authored and Gerrit - the friendly Code Review server committed Sep 4, 2020
2 parents 930a7d6 + f3ddbcf commit 9684d05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/platform/msm/mhi_dev/mhi_dev_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,6 @@ static void mhi_dev_net_state_cb(struct mhi_dev_client_cb_data *cb_data)
mhi_dev_net_free_reqs(&mhi_client->wr_req_buffers);
free_netdev(mhi_client->dev);
mhi_client->dev = NULL;
kfree(mhi_client);
kfree(mhi_net_ipc_log);
}
}
}
Expand Down

0 comments on commit 9684d05

Please sign in to comment.