From: Matthias Beyer Date: Sat, 5 Oct 2013 16:02:10 +0000 (+0200) Subject: drivers: usb: core: hcd: if-else-braces fixed X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d1ddb0a6bb665dce10314bb5b9960e197e814820;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 2a538ce08f9c..460bb59cb655 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c @@ -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);