From: Julia Lawall Date: Sun, 9 Nov 2008 16:56:10 +0000 (+0100) Subject: drivers/net/wireless/ath9k/rc.c: use ARRAY_SIZE X-Git-Tag: v2.6.29-rc1~581^2~580^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87c1687d1a7bf0d4975d613cb699ba95b329359e;p=pandora-kernel.git drivers/net/wireless/ath9k/rc.c: 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/) // @i@ @@ #include @depends on i using "paren.iso"@ type T; T[] E; @@ - (sizeof(E)/sizeof(E[...])) + ARRAY_SIZE(E) // Signed-off-by: Julia Lawall Signed-off-by: John W. Linville --- Reading git-diff-tree failed