From 57c2c3169ff32874d65430ca6d4f2c4a2cadd2cb Mon Sep 17 00:00:00 2001 From: regehr Date: Mon, 8 Sep 2008 03:10:23 +0000 Subject: [PATCH] delete useless breaks that annoy Deputy --- tos/chips/pxa27x/i2c/HplPXA27xI2CP.nc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tos/chips/pxa27x/i2c/HplPXA27xI2CP.nc b/tos/chips/pxa27x/i2c/HplPXA27xI2CP.nc index 912a7b1c..e7168f1b 100644 --- a/tos/chips/pxa27x/i2c/HplPXA27xI2CP.nc +++ b/tos/chips/pxa27x/i2c/HplPXA27xI2CP.nc @@ -98,8 +98,8 @@ implementation async command uint32_t I2C.getIDBR() { switch(dev) { - case 0: return IDBR; break; - case 1: return PIDBR; break; + case 0: return IDBR; + case 1: return PIDBR; default: return 0; } } @@ -115,8 +115,8 @@ implementation async command uint32_t I2C.getICR() { switch(dev) { - case 0: return ICR; break; - case 1: return PICR; break; + case 0: return ICR; + case 1: return PICR; default: return 0; } } @@ -131,8 +131,8 @@ implementation async command uint32_t I2C.getISR() { switch(dev) { - case 0: return ISR; break; - case 1: return PISR; break; + case 0: return ISR; + case 1: return PISR; default: return 0; } } -- 2.39.2