From bf90447caa71021dcbd8ae35496ea11b1c3423b2 Mon Sep 17 00:00:00 2001 From: Meghana Madhyastha Date: Sat, 16 Sep 2017 11:38:38 +0530 Subject: 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 Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- drivers/staging/irda/drivers/ali-ircc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/staging/irda') diff --git a/drivers/staging/irda/drivers/ali-ircc.c b/drivers/staging/irda/drivers/ali-ircc.c index 756ae53dc1ec..589cd01797f4 100644 --- a/drivers/staging/irda/drivers/ali-ircc.c +++ b/drivers/staging/irda/drivers/ali-ircc.c @@ -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; -- cgit v1.2.3-55-g7522