[PATCH 1/2] ipc/mqueue: remove assignment from IS_ERR argument

2015-12-26 Thread Julia Lawall
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e1,e2; statement S1,S2; @@ +e1 = e2; if (IS_ERR( e1 - = e2 )) S1 else S2 // Signed-off-by: Julia Lawall --- ipc/mqueue.c |3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 1/2] ipc/mqueue: remove assignment from IS_ERR argument

2015-12-26 Thread Julia Lawall
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e1,e2; statement S1,S2; @@ +e1 = e2; if (IS_ERR( e1 - = e2 )) S1 else S2 // Signed-off-by: Julia Lawall --- ipc/mqueue.c |3 ++- 1 file changed, 2