]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: lustre: cl_page: delete empty macros
authorJulia Lawall <Julia.Lawall@lip6.fr>
Fri, 8 May 2015 21:36:46 +0000 (23:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 13:05:50 +0000 (15:05 +0200)
commit76c807210aeaefc164dad49d98927f1a84668d36
treee09fc711e7d945b55be8e20dd398edc479d67590
parent9d9a3d06db9fd5f8c5760db76e0147b7e0c27c0c
staging: lustre: cl_page: delete empty macros

CS_PAGE_INC etc. do nothing, so remove them.

The semantic patch that performs this transformation is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@ expression o,item,state; @@
(
- CS_PAGE_INC(o, item);
|
- CS_PAGE_DEC(o, item);
|
- CS_PAGESTATE_INC(o, state);
|
- CS_PAGESTATE_DEC(o, state);
)
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/cl_page.c