diff options
author | Julia Lawall <julia@diku.dk> | 2008-06-23 23:12:31 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-27 01:28:25 -0400 |
commit | 3f6602ad56dc538a846367bd6a05ac7ac4d3e641 (patch) | |
tree | 9642090d7b0f17a0f5ba8ff378e1ee1eebb2d44a /drivers/net/ipg.c | |
parent | 54299ef7e9ae4b5d47b02f3abea168cdc62a6f70 (diff) | |
download | op-kernel-dev-3f6602ad56dc538a846367bd6a05ac7ac4d3e641.zip op-kernel-dev-3f6602ad56dc538a846367bd6a05ac7ac4d3e641.tar.gz |
drivers/net/r6040.c: Eliminate double sizeof
Taking sizeof the result of sizeof is quite strange and does not seem to be
what is wanted here.
This was fixed using the following semantic patch.
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression E;
@@
- sizeof (
sizeof (E)
- )
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ipg.c')
0 files changed, 0 insertions, 0 deletions