diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-07-23 13:42:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-23 18:14:25 -0400 |
commit | 164d4f20d4afa96090fa46ddec6b56341bc6407c (patch) | |
tree | cf164cf8eb3489a0ca278013216565dd03fd84a8 | |
parent | c91b7f668a79b796153921c8e405b3d1633e71d3 (diff) |
net: bcmgenet: add and remove missing blank lines
checkpatch.pl flagged two blank lines which are not needed, and one that
was missing, fix them.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/broadcom/genet/bcmgenet.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c index 0f65b4a4d4a4..25aa42b6cd34 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c | |||
@@ -619,7 +619,6 @@ static void bcmgenet_get_drvinfo(struct net_device *dev, | |||
619 | strlcpy(info->driver, "bcmgenet", sizeof(info->driver)); | 619 | strlcpy(info->driver, "bcmgenet", sizeof(info->driver)); |
620 | strlcpy(info->version, "v2.0", sizeof(info->version)); | 620 | strlcpy(info->version, "v2.0", sizeof(info->version)); |
621 | info->n_stats = BCMGENET_STATS_LEN; | 621 | info->n_stats = BCMGENET_STATS_LEN; |
622 | |||
623 | } | 622 | } |
624 | 623 | ||
625 | static int bcmgenet_get_sset_count(struct net_device *dev, int string_set) | 624 | static int bcmgenet_get_sset_count(struct net_device *dev, int string_set) |
@@ -1268,7 +1267,6 @@ static unsigned int bcmgenet_desc_rx(struct bcmgenet_priv *priv, | |||
1268 | 1267 | ||
1269 | while ((rxpktprocessed < rxpkttoprocess) && | 1268 | while ((rxpktprocessed < rxpkttoprocess) && |
1270 | (rxpktprocessed < budget)) { | 1269 | (rxpktprocessed < budget)) { |
1271 | |||
1272 | /* Unmap the packet contents such that we can use the | 1270 | /* Unmap the packet contents such that we can use the |
1273 | * RSV from the 64 bytes descriptor when enabled and save | 1271 | * RSV from the 64 bytes descriptor when enabled and save |
1274 | * a 32-bits register read | 1272 | * a 32-bits register read |
@@ -1286,6 +1284,7 @@ static unsigned int bcmgenet_desc_rx(struct bcmgenet_priv *priv, | |||
1286 | DMA_DESC_SIZE)); | 1284 | DMA_DESC_SIZE)); |
1287 | } else { | 1285 | } else { |
1288 | struct status_64 *status; | 1286 | struct status_64 *status; |
1287 | |||
1289 | status = (struct status_64 *)skb->data; | 1288 | status = (struct status_64 *)skb->data; |
1290 | dma_length_status = status->length_status; | 1289 | dma_length_status = status->length_status; |
1291 | } | 1290 | } |
@@ -1408,7 +1407,6 @@ static int bcmgenet_alloc_rx_buffers(struct bcmgenet_priv *priv) | |||
1408 | ret = bcmgenet_rx_refill(priv, cb); | 1407 | ret = bcmgenet_rx_refill(priv, cb); |
1409 | if (ret) | 1408 | if (ret) |
1410 | break; | 1409 | break; |
1411 | |||
1412 | } | 1410 | } |
1413 | 1411 | ||
1414 | return ret; | 1412 | return ret; |