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 05e4f07e137d6abc824ce9eb6f6b2d29f6760bbe..51256ba9d293b9133bf11d260fb794f1701e0cdf 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 b5dfdb658ec723ca426d0a874f81a7e743b98967..fee5e395608a9525700d5c3d5c697b127f599a04 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 9a9b331cc4695fb5bfba5acb4be7b689414fa879..685fb4d9c924281d2d90e102352a1c0438ad3dc1 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 a7e5f9288d1a669b0603b9412049a18fa250486b..adfd0a9cead7257edd82f3d58e3e388469ef1af1 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 0368516fd0bc4e242792e6ca271eaf526f4a8b7a..725e2829a510cb9cb8a85e44062d548253ec34f1 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 3c34f7788873cfdaf93f49c2704518346596d4a8..fe232c1057427eb9f97273945010420bd4d7d792 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 e58ec15dd89243e4938573aeed5c9035be5e5685..afdf53958ab4677e16ed6bda6209fd531904e553 100644 (file)
@@ -604,5 +604,4 @@ drop:
 op_err:
        hfi1_rc_error(qp, IB_WC_LOC_QP_OP_ERR);
        return;
-
 }
index 5779f3a820aba35d4c780c3728c3960fb43106de..c3f069725be667d948374ef87ef18694a7699637 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 03a10c880315ad4a656494c340689f463744adbd..097d2789f120c5f6a50dda59f674e334967692e7 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(