]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: octeon: Remove blank lines after open brace
authorLaura Garcia Liebana <nevola@gmail.com>
Sat, 27 Feb 2016 23:44:37 +0000 (00:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
Blank lines are not necessary after an open brace. Checkpatch detected
these issues.

Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rx.c
drivers/staging/octeon/ethernet-spi.c
drivers/staging/octeon/ethernet-tx.c

index 6ca935ba7f4a94ed595a4abc0251e6218e8f18db..85c5dc15e668818ab4c254d004fec42f040935ae 100644 (file)
@@ -101,7 +101,6 @@ static inline int cvm_oct_check_rcv_error(cvmx_wqe_t *work)
                gmxx_rxx_frm_ctl.u64 =
                    cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface));
                if (gmxx_rxx_frm_ctl.s.pre_chk == 0) {
-
                        u8 *ptr =
                            cvmx_phys_to_ptr(work->packet_ptr.s.addr);
                        int i = 0;
index 2ae1944b3a1bfbd99f2932e58655d3dc8c3d4508..063dcd07557b2f45d1e77414e95e93ccafd3b6be 100644 (file)
@@ -167,9 +167,7 @@ static void cvm_oct_spi_poll(struct net_device *dev)
        int interface;
 
        for (interface = 0; interface < 2; interface++) {
-
                if ((priv->port == interface * 16) && need_retrain[interface]) {
-
                        if (cvmx_spi_restart_interface
                            (interface, CVMX_SPI_MODE_DUPLEX, 10) == 0) {
                                need_retrain[interface] = 0;
index 5df4d01eb2c3b97baddcebba279cf9b03b24b6e9..f085491bdc88972560aefee6d5f1135d5520680b 100644 (file)
@@ -427,7 +427,6 @@ dont_put_skbuff_in_hw:
        /* Drop this packet if we have too many already queued to the HW */
        if (unlikely(skb_queue_len(&priv->tx_free_list[qos]) >=
                     MAX_OUT_QUEUE_DEPTH)) {
-
                if (dev->tx_queue_len != 0) {
                        /* Drop the lock when notifying the core.  */
                        spin_unlock_irqrestore(&priv->tx_free_list[qos].lock,