summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2015-05-06 11:45:13 +0530
committerLennart Poettering <lennart@poettering.net>2015-05-06 09:27:46 -0700
commit61087906e099eb462a0fc123afca5687795f0fd4 (patch)
treeb401386ffea42a2b7f7dadd53682968b44e3d8bc /src/udev
parentcafbecf31ca615feaf5e5392b62c7511081abefd (diff)
udev: fix coding style
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/net/ethtool-util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udev/net/ethtool-util.c b/src/udev/net/ethtool-util.c
index ec67126b21..927b8abc64 100644
--- a/src/udev/net/ethtool-util.c
+++ b/src/udev/net/ethtool-util.c
@@ -93,8 +93,7 @@ int ethtool_get_driver(int *fd, const char *ifname, char **ret) {
return 0;
}
-int ethtool_set_speed(int *fd, const char *ifname, unsigned int speed, Duplex duplex)
-{
+int ethtool_set_speed(int *fd, const char *ifname, unsigned int speed, Duplex duplex) {
struct ethtool_cmd ecmd = {
.cmd = ETHTOOL_GSET
};