staging: et131x: Remove spaces after casts
authorMark Einon <mark.einon@gmail.com>
Sun, 14 Sep 2014 15:59:06 +0000 (16:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:05:19 +0000 (16:05 -0700)
In three places in et131x.c, spaces exist after a cast. Remove them.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c

index c158b01a55699df9d91bf2f21bbdf167594a40ad..12bde766e2c5ea26e2e2f652c4f437b1dcfbfccd 100644 (file)
@@ -1144,7 +1144,7 @@ static void et1310_config_rxmac_regs(struct et131x_adapter *adapter)
                 adapter->addr[5];
        writel(sa_lo, &rxmac->sa_lo);
 
-       sa_hi = (u32) (adapter->addr[0] << ET_RX_WOL_HI_SA1_SHIFT) |
+       sa_hi = (u32)(adapter->addr[0] << ET_RX_WOL_HI_SA1_SHIFT) |
                       adapter->addr[1];
        writel(sa_hi, &rxmac->sa_hi);
 
@@ -2377,7 +2377,7 @@ static struct rfd *nic_rx_pkts(struct et131x_adapter *adapter)
                return NULL; /* Looks like this ring is not updated yet */
 
        /* The packet status ring indicates that data is available. */
-       psr = (struct pkt_stat_desc *) (rx_local->ps_ring_virtaddr) +
+       psr = (struct pkt_stat_desc *)(rx_local->ps_ring_virtaddr) +
                        (rx_local->local_psr_full & 0xFFF);
 
        /* Grab any information that is required once the PSR is advanced,
@@ -3313,7 +3313,7 @@ err_out:
  */
 static void et131x_error_timer_handler(unsigned long data)
 {
-       struct et131x_adapter *adapter = (struct et131x_adapter *) data;
+       struct et131x_adapter *adapter = (struct et131x_adapter *)data;
        struct phy_device *phydev = adapter->phydev;
 
        if (et1310_in_phy_coma(adapter)) {