aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/src/chqueues.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-06 19:25:26 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-06 19:25:26 +0000
commit8a410f6946ff9f4721b74781a91a56256b66a4df (patch)
tree831e01f67745d982f762552f48cfbc2d9ed82de2 /os/rt/src/chqueues.c
parent07aba437fa499413e13b72441d6a76edf9ec8818 (diff)
downloadChibiOS-8a410f6946ff9f4721b74781a91a56256b66a4df.tar.gz
ChibiOS-8a410f6946ff9f4721b74781a91a56256b66a4df.tar.bz2
ChibiOS-8a410f6946ff9f4721b74781a91a56256b66a4df.zip
Even more MISRA.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7722 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/src/chqueues.c')
-rw-r--r--os/rt/src/chqueues.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/os/rt/src/chqueues.c b/os/rt/src/chqueues.c
index fbe05e129..33f0df32c 100644
--- a/os/rt/src/chqueues.c
+++ b/os/rt/src/chqueues.c
@@ -92,9 +92,7 @@ void chIQObjectInit(input_queue_t *iqp, uint8_t *bp, size_t size,
iqp->q_buffer = bp;
iqp->q_rdptr = bp;
iqp->q_wrptr = bp;
- /*lint -save -e9016 [18.4] Normal pointers arithmetic.*/
iqp->q_top = bp + size;
- /*lint -restore*/
iqp->q_notify = infy;
iqp->q_link = link;
}
@@ -293,9 +291,7 @@ void chOQObjectInit(output_queue_t *oqp, uint8_t *bp, size_t size,
oqp->q_buffer = bp;
oqp->q_rdptr = bp;
oqp->q_wrptr = bp;
- /*lint -save -e9016 [18.4] Normal pointers arithmetic.*/
oqp->q_top = bp + size;
- /*lint -restore*/
oqp->q_notify = onfy;
oqp->q_link = link;
}