We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638eec0 commit 67d0a91Copy full SHA for 67d0a91
drivers/ufs/core/ufshpb.c
@@ -615,14 +615,14 @@ static void ufshpb_activate_subregion(struct ufshpb_lu *hpb,
615
616
static void ufshpb_umap_req_compl_fn(struct request *req, blk_status_t error)
617
{
618
- struct ufshpb_req *umap_req = (struct ufshpb_req *)req->end_io_data;
+ struct ufshpb_req *umap_req = req->end_io_data;
619
620
ufshpb_put_req(umap_req->hpb, umap_req);
621
}
622
623
static void ufshpb_map_req_compl_fn(struct request *req, blk_status_t error)
624
625
- struct ufshpb_req *map_req = (struct ufshpb_req *) req->end_io_data;
+ struct ufshpb_req *map_req = req->end_io_data;
626
struct ufshpb_lu *hpb = map_req->hpb;
627
struct ufshpb_subregion *srgn;
628
unsigned long flags;
0 commit comments