git: sbin/mount_hammer: Cleanup blocks with a single statement

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Apr 9 11:51:15 PDT 2017


commit a90e74c587686e9034319b2388ff5c99e7d4ac3b
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Apr 9 03:05:54 2017 +0300

    sbin/mount_hammer: Cleanup blocks with a single statement
    
    This commit basically does the same as what Linux kernel's coding
    style mentions for braces, which is basically the same with BSDs.
    https://github.com/torvalds/linux/blob/master/Documentation/process/coding-style.rst#3-placing-braces-and-spaces
    
    No diff in sbin/mount_hammer/mount_hammer binary when assert(3)
    is disabled.

Summary of changes:
 sbin/mount_hammer/mount_hammer.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a90e74c587686e9034319b2388ff5c99e7d4ac3b


-- 
DragonFly BSD source repository



More information about the Commits mailing list