[systemd-devel] [PATCH] udev: fix coding style
Lennart Poettering
lennart at poettering.net
Wed May 6 09:28:42 PDT 2015
On Wed, 06.05.15 11:45, Susant Sahani (susant at redhat.com) wrote:
Actually, we allow the line break there too, even though we prefer to
not have it there. Applied anyway. Thanks!
> ---
> src/udev/net/ethtool-util.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/udev/net/ethtool-util.c b/src/udev/net/ethtool-util.c
> index ec67126..927b8ab 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
> };
> --
> 2.4.0
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list