diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-23 01:40:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-26 21:34:29 -0400 |
commit | 807540baae406c84dcb9c1c8ef07a56d2d2ae84a (patch) | |
tree | ccd5c2cb57710dd6b73cf8df11eedf67abc14ae4 /drivers/net/fsl_pq_mdio.c | |
parent | cb4dfe562cac6fcb544df752e40c1d78000d0712 (diff) |
drivers/net: return operator cleanup
Change "return (EXPR);" to "return EXPR;"
return is not a function, parentheses are not required.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fsl_pq_mdio.c')
-rw-r--r-- | drivers/net/fsl_pq_mdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fsl_pq_mdio.c b/drivers/net/fsl_pq_mdio.c index d4bf91aac25f..8d3a2ccbc953 100644 --- a/drivers/net/fsl_pq_mdio.c +++ b/drivers/net/fsl_pq_mdio.c | |||
@@ -125,7 +125,7 @@ int fsl_pq_mdio_write(struct mii_bus *bus, int mii_id, int regnum, u16 value) | |||
125 | struct fsl_pq_mdio __iomem *regs = fsl_pq_mdio_get_regs(bus); | 125 | struct fsl_pq_mdio __iomem *regs = fsl_pq_mdio_get_regs(bus); |
126 | 126 | ||
127 | /* Write to the local MII regs */ | 127 | /* Write to the local MII regs */ |
128 | return(fsl_pq_local_mdio_write(regs, mii_id, regnum, value)); | 128 | return fsl_pq_local_mdio_write(regs, mii_id, regnum, value); |
129 | } | 129 | } |
130 | 130 | ||
131 | /* | 131 | /* |
@@ -137,7 +137,7 @@ int fsl_pq_mdio_read(struct mii_bus *bus, int mii_id, int regnum) | |||
137 | struct fsl_pq_mdio __iomem *regs = fsl_pq_mdio_get_regs(bus); | 137 | struct fsl_pq_mdio __iomem *regs = fsl_pq_mdio_get_regs(bus); |
138 | 138 | ||
139 | /* Read the local MII regs */ | 139 | /* Read the local MII regs */ |
140 | return(fsl_pq_local_mdio_read(regs, mii_id, regnum)); | 140 | return fsl_pq_local_mdio_read(regs, mii_id, regnum); |
141 | } | 141 | } |
142 | 142 | ||
143 | /* Reset the MIIM registers, and wait for the bus to free */ | 143 | /* Reset the MIIM registers, and wait for the bus to free */ |