]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hisilicon: add some missing curly braces
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 28 Jan 2015 18:58:33 +0000 (21:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jan 2015 07:06:24 +0000 (23:06 -0800)
commita154e6f6efdd13d7254679b5a99d9b912017621f
treee25b4ee47d4606741a9132801f14b530aa28d899
parentb8693877ae016ac525d674d5d7a84ea0ea68ba60
hisilicon: add some missing curly braces

The if block was supposed to have curly braces.  In the current code we
complain about dropped rx packets when we shouldn't.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hip04_eth.c