mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 19:55:16 -05:00
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 <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
7f1a9c61d6
commit
bf90447caa
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue