summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/unistr.c
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2012-01-05 00:34:05 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-01-25 23:11:43 -0800
commitafd12939a09ca8f96cf8349c913dc143471c9b3c (patch)
treee3ef695f8df810ce7689678117b83e22cd9ff2a4 /fs/ntfs/unistr.c
parente55684fadbc5c9c69cad1b3bae228c8374b99b85 (diff)
e1000e: cleanup Rx checksum offload code
1) cleanup whitespace in e1000_rx_checksum() function header comment 2) do not check hardware checksum when Rx checksum is disabled 3) reduce duplicated calls to le16_to_cpu() by just using it within e1000_rx_checksum() instead of in each call to the function v2: use swab16 instead of le16_to_cpu & htons and corrected type for the passed-in csum Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'fs/ntfs/unistr.c')
0 files changed, 0 insertions, 0 deletions