From: Mark Einon Date: Sun, 14 Sep 2014 15:59:06 +0000 (+0100) Subject: staging: et131x: Remove spaces after casts X-Git-Tag: v3.18-rc1~130^2~395 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c13756784a6a16fb5d25585a4058dd6d284fd033;p=karo-tx-linux.git 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 --- 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)) {