Staging: irda: drivers: Move the curly bracket to the same line as if
PATCH 1/1 Staging: irda: drivers: Move the curly bracket to the same line as if
Move the left curly brace to the same line as the if statement. This coding style is more common and also reduces the number of lines of code.
--- drivers/staging/irda/drivers/ali-ircc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/irda/drivers/ali-ircc.c +1 -2
@@ -1876,8 +1876,7 @@ static int ali_ircc_dma_receive_complete(struct ali_ircc_cb *self) self->stamp =ktime_get (); skb =dev_alloc_skb (len+1 ); -if (!skb) - { +if (!skb) { self->netdev->stats.rx_dropped++;return FALSE;
Signature · 1 line
2.7.4
Quoted 5 lines · Meghana Madhyastha
Move the left curly brace to the same line as the if statement. This coding style is more common and also reduces the number of lines of code.
Signed-off-by Meghana Madhyastha <[email protected]>
Quoted 28 lines
--- drivers/staging/irda/drivers/ali-ircc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/irda/drivers/ali-ircc.c +1
-3@@ -1876,8 +1876,7 @@ static int ali_ircc_dma_receive_complete(struct ali_ircc_cb *self) self->stamp =ktime_get (); skb =dev_alloc_skb (len+1 ); -if (!skb) - { +if (!skb) { self->netdev->stats.rx_dropped++;return FALSE; --2.7.4
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170916060833.GA31923%40meghana-HP-Pavilion-Notebook.
For more options, visit https://groups.google.com/d/optout.