mirror of https://gitee.com/openkylin/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 <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:
parent
7f1a9c61d6
commit
bf90447caa
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue