On Thu, 2019-08-01 at 14:48 +0300, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > UAR in CQ is not used and generates the following compilation > warning, clean the code by removing uar assignment. > > drivers/infiniband/hw/hns/hns_roce_cq.c: In function _create_user_cq_: > drivers/infiniband/hw/hns/hns_roce_cq.c:305:27: warning: parameter > _uar_ set but not used [-Wunused-but-set-parameter] > 305 | struct hns_roce_uar *uar, > | ~~~~~~~~~~~~~~~~~~~~~^~~ > > Fixes: 4f8f0d5e33dd ("RDMA/hns: Package the flow of creating cq") > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> Thanks, applied to for-next. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part