]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: i4l: Reformat braces around else
authorAnthony Sheldon <sheldon.anthony.sheldon@gmail.com>
Fri, 19 Aug 2016 15:42:13 +0000 (16:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 15:23:18 +0000 (17:23 +0200)
As suggested by Documentation/CodingStyle move braces onto same line as else.

Signed-off-by: Anthony Sheldon <sheldon.anthony.sheldon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/i4l/pcbit/capi.c

index 4e3cbf857d6066cfceff3ff3422c9b5cfdbd3318..373f90feda5a9bcc8c244735ec3c67ffda565561 100644 (file)
@@ -92,9 +92,7 @@ int capi_conn_req(const char *calledPN, struct sk_buff **skb, int proto)
                *(skb_put(*skb, 1)) = 0x80;     /* Speech               */
                *(skb_put(*skb, 1)) = 0x10;     /* Circuit Mode         */
                *(skb_put(*skb, 1)) = 0x23;     /* A-law                */
-       }
-       else
-       {
+       } else {
                /* Bearer Capability - Mandatory*/
                *(skb_put(*skb, 1)) = 2;        /* BC0.Length           */
                *(skb_put(*skb, 1)) = 0x88;     /* Digital Information  */