From: regehr Date: Mon, 8 Sep 2008 03:10:23 +0000 (+0000) Subject: delete useless breaks that annoy Deputy X-Git-Tag: rc_6_tinyos_2_1_1~624 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=57c2c3169ff32874d65430ca6d4f2c4a2cadd2cb;p=tinyos-2.x.git delete useless breaks that annoy Deputy --- 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; } }