summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2015-05-25 11:02:13 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-25 18:19:09 -0400
commit26fe7eb862344e7a8276b7bdb306d6eb23bb28da (patch)
tree04123c8e46fc141dce2f1de238ceb92ac9f4a475 /drivers/net/ethernet
parentd1a0ed795a4c22a8104c91210a02d9f6e3c8737b (diff)
downloadop-kernel-dev-26fe7eb862344e7a8276b7bdb306d6eb23bb28da.zip
op-kernel-dev-26fe7eb862344e7a8276b7bdb306d6eb23bb28da.tar.gz
net: cpsw: fix misplaced break statements.
Having the breaks too far to the left makes parsing the dense switch/case block unnecessarily harder. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/ti/cpsw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index b536b4c..e9e3ab3 100644
--- a/drivers/net/ethernet/ti/cpsw.c
+++ b/drivers/net/ethernet/ti/cpsw.c
@@ -1456,7 +1456,7 @@ static void cpsw_hwtstamp_v2(struct cpsw_priv *priv)
if (priv->cpts->rx_enable)
ctrl |= CTRL_V2_RX_TS_BITS;
- break;
+ break;
case CPSW_VERSION_3:
default:
ctrl &= ~CTRL_V3_ALL_TS_MASK;
@@ -1466,7 +1466,7 @@ static void cpsw_hwtstamp_v2(struct cpsw_priv *priv)
if (priv->cpts->rx_enable)
ctrl |= CTRL_V3_RX_TS_BITS;
- break;
+ break;
}
mtype = (30 << TS_SEQ_ID_OFFSET_SHIFT) | EVENT_MSG_BITS;
OpenPOWER on IntegriCloud