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.

Signed-off-by: Meghana Madhyastha <meghana.madhyastha@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Meghana Madhyastha 2017-09-16 11:38:38 +05:30 committed by Greg Kroah-Hartman
parent 7f1a9c61d6
commit bf90447caa
1 changed files with 1 additions and 2 deletions

View File

@ -1876,8 +1876,7 @@ static int ali_ircc_dma_receive_complete(struct ali_ircc_cb *self)
self->stamp = ktime_get(); self->stamp = ktime_get();
skb = dev_alloc_skb(len+1); skb = dev_alloc_skb(len+1);
if (!skb) if (!skb) {
{
self->netdev->stats.rx_dropped++; self->netdev->stats.rx_dropped++;
return FALSE; return FALSE;