drivers: usb: core: hcd: if-else-braces fixed
Put else keyword on same line as closing brace from if statement, added { } braces as the styleguide says. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
070104966c
commit
d1ddb0a6bb
|
@ -879,9 +879,9 @@ static ssize_t authorized_default_store(struct device *dev,
|
|||
if (result == 1) {
|
||||
usb_hcd->authorized_default = val ? 1 : 0;
|
||||
result = size;
|
||||
}
|
||||
else
|
||||
} else {
|
||||
result = -EINVAL;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
static DEVICE_ATTR_RW(authorized_default);
|
||||
|
|
Loading…
Reference in New Issue