diff options
| author | Amitkumar Karwar <[email protected]> | 2012-02-02 20:48:57 -0800 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2012-02-06 14:55:53 -0500 |
| commit | f3c8d2591fa7278abe58ee0278a41d5b130d1718 (patch) | |
| tree | d035f14b32068527b389d6d5e274a046068e0fee /drivers/net/wireless/iwlegacy/debug.c | |
| parent | 3d86b93064c7f18378a2008bab9608ca7d11bdbb (diff) | |
mwifiex: cleanup in snmp_mib command preparation code
1) Remove unnecessary switch case usage.
2) Replace "X=cpu_to_le16(le16_to_cpu(X) + Y)" by "le16_add_cpu(X, Y)"
3) Declare "ul_temp" variable as u16 instead of u32 to avoid
unnecessary typecasting
Signed-off-by: Amitkumar Karwar <[email protected]>
Signed-off-by: Bing Zhao <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/debug.c')
0 files changed, 0 insertions, 0 deletions