From c13756784a6a16fb5d25585a4058dd6d284fd033 Mon Sep 17 00:00:00 2001 From: Mark Einon Date: Sun, 14 Sep 2014 16:59:06 +0100 Subject: staging: et131x: Remove spaces after casts In three places in et131x.c, spaces exist after a cast. Remove them. Signed-off-by: Mark Einon Signed-off-by: Greg Kroah-Hartman --- drivers/staging/et131x/et131x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/staging/et131x/et131x.c') diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index c158b01a5569..12bde766e2c5 100644 --- a/drivers/staging/et131x/et131x.c +++ b/drivers/staging/et131x/et131x.c @@ -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)) { -- cgit v1.2.3-58-ga151