rtlwifi: Fix memset argument order
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 17 Mar 2011 18:08:57 +0000 (14:08 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Mar 2011 19:19:48 +0000 (15:19 -0400)
These were found using the following semantic match:
// <smpl>
@@expression E1; type T;@@
* memset(E1, ... * sizeof(T) * ..., ...);
// </smpl>

Also take this opportunity to remove the unnecessary void* casts.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found