diff options
author | Dan Carpenter <error27@gmail.com> | 2010-02-23 13:04:23 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2010-02-25 14:38:51 +0100 |
commit | bcf59e2c4dea780e4abf48d5e673f5d79f9ee064 (patch) | |
tree | 3bddb355fdadef0c3be34cadcbdf9dbfbfc27acd /drivers/parport | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torval... (diff) | |
download | linux-bcf59e2c4dea780e4abf48d5e673f5d79f9ee064.tar.xz linux-bcf59e2c4dea780e4abf48d5e673f5d79f9ee064.zip |
uwb: remove duplicate cpu_to_le16()
These parameters should be passed as cpu endian because we change it to
little endian inside usb_control_msg(). On x86 cpu_to_le16() doesn't
do anything so either way works but I think the original code would break
on big endian systems.
I removed the masks as well because that usb_control_msg() parameters
are __u16 so we already only use the lower bits.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions