From: Meghana Madhyastha Date: Sat, 16 Sep 2017 06:08:38 +0000 (+0530) Subject: Staging: irda: drivers: Move the curly bracket to the same line as if X-Git-Tag: v4.15-rc1~142^2~311 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=bf90447caa71021dcbd8ae35496ea11b1c3423b2;p=linux.git 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 --- 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;