staging/rdma/hfi1: Remove blank line before close brace
authorJubin John <jubin.john@intel.com>
Mon, 15 Feb 2016 04:20:06 +0000 (20:20 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:45:37 +0000 (20:45 -0500)
Remove extra blank line before close brace to fix checkpatch check:
CHECK: Blank lines aren't necessary before a close brace '}'

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/driver.c
drivers/staging/rdma/hfi1/intr.c
drivers/staging/rdma/hfi1/mad.c
drivers/staging/rdma/hfi1/pcie.c
drivers/staging/rdma/hfi1/sysfs.c
drivers/staging/rdma/hfi1/uc.c
drivers/staging/rdma/hfi1/ud.c
drivers/staging/rdma/hfi1/user_sdma.c

index 05e4f07..51256ba 100644 (file)
@@ -13710,7 +13710,6 @@ static void assign_cm_au_table(struct hfi1_devdata *dd, u32 cu,
                        SEND_CM_LOCAL_AU_TABLE4_TO7_LOCAL_AU_TABLE6_SHIFT
                | 64ull * cu <<
                        SEND_CM_LOCAL_AU_TABLE4_TO7_LOCAL_AU_TABLE7_SHIFT);
-
 }
 
 static void assign_local_cm_au_table(struct hfi1_devdata *dd, u8 vcu)
index b5dfdb6..fee5e39 100644 (file)
@@ -762,7 +762,6 @@ static inline void finish_packet(struct hfi1_packet *packet)
         */
        update_usrhead(packet->rcd, packet->rcd->head, packet->updegr,
                       packet->etail, rcv_intr_dynamic, packet->numpkt);
-
 }
 
 static inline void process_rcv_qp_work(struct hfi1_packet *packet)
index 9a9b331..685fb4d 100644 (file)
@@ -178,7 +178,6 @@ void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup)
                /* notify IB of the link change */
                signal_ib_event(ppd, ev);
        }
-
 }
 
 /*
index a7e5f92..adfd0a9 100644 (file)
@@ -3805,7 +3805,6 @@ static int subn_get_opa_aggregate(struct opa_smp *smp,
                        return reply((struct ib_mad_hdr *)smp);
                }
                next_smp += agg_size;
-
        }
 
        return reply((struct ib_mad_hdr *)smp);
@@ -3849,7 +3848,6 @@ static int subn_set_opa_aggregate(struct opa_smp *smp,
                        return reply((struct ib_mad_hdr *)smp);
                }
                next_smp += agg_size;
-
        }
 
        return reply((struct ib_mad_hdr *)smp);
index 0368516..725e282 100644 (file)
@@ -316,7 +316,6 @@ do_intx:
                   nvec, ret);
        *msixcnt = 0;
        hfi1_enable_intx(dd->pcidev);
-
 }
 
 /* return the PCIe link speed from the given link status */
index 3c34f77..fe232c1 100644 (file)
@@ -568,7 +568,6 @@ static ssize_t show_serial(struct device *device,
        struct hfi1_devdata *dd = dd_from_dev(dev);
 
        return scnprintf(buf, PAGE_SIZE, "%s", dd->serial);
-
 }
 
 static ssize_t store_chip_reset(struct device *device,
index e58ec15..afdf539 100644 (file)
@@ -604,5 +604,4 @@ drop:
 op_err:
        hfi1_rc_error(qp, IB_WC_LOC_QP_OP_ERR);
        return;
-
 }
index 5779f3a..c3f0697 100644 (file)
@@ -772,7 +772,6 @@ void hfi1_ud_rcv(struct hfi1_packet *packet)
                        mgmt_pkey_idx = hfi1_lookup_pkey_idx(ibp, pkey);
                        if (mgmt_pkey_idx < 0)
                                goto drop;
-
                }
                if (unlikely(qkey != qp->qkey)) {
                        hfi1_bad_pqkey(ibp, OPA_TRAP_BAD_Q_KEY, qkey,
@@ -810,7 +809,6 @@ void hfi1_ud_rcv(struct hfi1_packet *packet)
                mgmt_pkey_idx = hfi1_lookup_pkey_idx(ibp, pkey);
                if (mgmt_pkey_idx < 0)
                        goto drop;
-
        }
 
        if (qp->ibqp.qp_num > 1 &&
index 03a10c8..097d278 100644 (file)
@@ -713,7 +713,6 @@ int hfi1_user_sdma_process_request(struct file *fp, struct iovec *iovec,
                                msecs_to_jiffies(
                                        SDMA_IOWAIT_TIMEOUT));
                }
-
        }
        *count += idx;
        return 0;
@@ -1194,7 +1193,6 @@ static int set_txreq_header(struct user_sdma_request *req,
                if (ret)
                        return ret;
                goto done;
-
        }
 
        hdr->bth[2] = cpu_to_be32(