trivial coding style clean ups

- Add space between if/for and the opening parentheses
- Place the opening brace on same line as the function (not for  udev)

From the CODING_STYLE
Try to use this:
    void foo() {
    }
instead of this:
    void foo()
    {
    }
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2013-12-03 22:27:45 +01:00
parent 53ab52ac6d
commit f168c27313
22 changed files with 86 additions and 154 deletions
+1 -2
View File
@@ -118,8 +118,7 @@ struct autofs_dev_ioctl {
char path[0];
};
static inline void init_autofs_dev_ioctl(struct autofs_dev_ioctl *in)
{
static inline void init_autofs_dev_ioctl(struct autofs_dev_ioctl *in) {
memset(in, 0, sizeof(struct autofs_dev_ioctl));
in->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR;
in->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR;