Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
[deliverable/linux.git] / drivers / infiniband / hw / hfi1 / file_ops.c
index c702a009608f27a62b06b7ad4eb2d54914fab03b..32c19fad12a4c4df5d074ac5540e3a2f8ee4973c 100644 (file)
@@ -228,7 +228,7 @@ static long hfi1_file_ioctl(struct file *fp, unsigned int cmd,
                                    sizeof(struct hfi1_base_info));
                break;
        case HFI1_IOCTL_CREDIT_UPD:
-               if (uctxt && uctxt->sc)
+               if (uctxt)
                        sc_return_credits(uctxt->sc);
                break;
 
This page took 0.029548 seconds and 5 git commands to generate.