mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
usb: f_qdss: Remove usb_request::num_mapped_sgs access
The function drivers have no business accessing usb_request::num_mapped_sgs field. The UDC will use this field to cache the sgs mapped for a given request. Change-Id: I6a8c8c2e52a36caedfe977f517b4c04b1ad0045c Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
This commit is contained in:
parent
6c2909cd85
commit
ea6dfe28c6
2 changed files with 0 additions and 2 deletions
|
|
@ -811,7 +811,6 @@ int usb_qdss_write(struct usb_qdss_ch *ch, struct qdss_request *d_req)
|
|||
req->length = d_req->length;
|
||||
req->sg = d_req->sg;
|
||||
req->num_sgs = d_req->num_sgs;
|
||||
req->num_mapped_sgs = d_req->num_mapped_sgs;
|
||||
reinit_completion(&qreq->write_done);
|
||||
if (req->sg)
|
||||
qdss_log("%s: req:%pK req->num_sgs:0x%x\n",
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ struct qdss_request {
|
|||
void *context;
|
||||
struct scatterlist *sg;
|
||||
unsigned int num_sgs;
|
||||
unsigned int num_mapped_sgs;
|
||||
};
|
||||
|
||||
struct usb_qdss_ch {
|
||||
|
|
|
|||
Loading…
Reference in a new issue