git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d86b93
)
mwifiex: cleanup in snmp_mib command preparation code
author
Amitkumar Karwar
<akarwar@marvell.com>
Fri, 3 Feb 2012 04:48:57 +0000
(20:48 -0800)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 6 Feb 2012 19:55:53 +0000
(14:55 -0500)
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 <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
No differences found