diff options
author | Julia Lawall <julia@diku.dk> | 2008-11-13 21:19:04 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-12-25 11:01:45 +1100 |
commit | 31a61bfc6e415fbd871317cbee7b8a4158d8ac5b (patch) | |
tree | 45dcda574c4af4b2fd8531d46d165ca47f00e832 /crypto/rmd320.c | |
parent | 0426c166424ea6d3d0412f47879c8ba268f874c4 (diff) |
crypto: md4 - Use ARRAY_SIZE
ARRAY_SIZE is more concise to use when the size of an array is divided by
the size of its type or the size of its first element.
The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@i@
@@
#include <linux/kernel.h>
@depends on i using "paren.iso"@
type T;
T[] E;
@@
- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rmd320.c')
0 files changed, 0 insertions, 0 deletions