projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/net: return operator cleanup
[deliverable/linux.git]
/
drivers
/
net
/
gianfar_ethtool.c
diff --git
a/drivers/net/gianfar_ethtool.c
b/drivers/net/gianfar_ethtool.c
index 9bda023c0235664f9000411fa543ce182371259f..ae8e5d3c6c1f69811fc1b20c0df83e770a940c8b 100644
(file)
--- a/
drivers/net/gianfar_ethtool.c
+++ b/
drivers/net/gianfar_ethtool.c
@@
-254,7
+254,7
@@
static unsigned int gfar_usecs2ticks(struct gfar_private *priv, unsigned int use
/* Make sure we return a number greater than 0
* if usecs > 0 */
/* Make sure we return a number greater than 0
* if usecs > 0 */
- return (
(usecs * 1000 + count - 1) / count)
;
+ return (
usecs * 1000 + count - 1) / count
;
}
/* Convert ethernet clock ticks to microseconds */
}
/* Convert ethernet clock ticks to microseconds */
@@
-278,7
+278,7
@@
static unsigned int gfar_ticks2usecs(struct gfar_private *priv, unsigned int tic
/* Make sure we return a number greater than 0 */
/* if ticks is > 0 */
/* Make sure we return a number greater than 0 */
/* if ticks is > 0 */
- return (
(ticks * count) / 1000)
;
+ return (
ticks * count) / 1000
;
}
/* Get the coalescing parameters, and put them in the cvals
}
/* Get the coalescing parameters, and put them in the cvals
This page took
0.02437 seconds
and
5
git commands to generate.