From: Dan Carpenter Date: Tue, 23 Feb 2010 12:04:23 +0000 (+0300) Subject: uwb: remove duplicate cpu_to_le16() X-Git-Tag: v2.6.34-rc2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcf59e2c4dea780e4abf48d5e673f5d79f9ee064;p=pandora-kernel.git 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 Signed-off-by: David Vrabel --- Reading git-diff-tree failed