net/hyperv: Remove unnecessary kmap_atomic in netvsc driver
authorHaiyang Zhang <haiyangz@microsoft.com>
Thu, 15 Dec 2011 21:45:15 +0000 (13:45 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Jan 2012 00:13:05 +0000 (16:13 -0800)
commit453263421f88b4a7e508c2e7b639c97e99c5b118
treeb38aaaccac96fda0b3b6e25c05b0bbbbe7a84567
parent3b148be0df8e45a0259d7e84001cf02e897af614
net/hyperv: Remove unnecessary kmap_atomic in netvsc driver

__get_free_pages() doesn't return HI memory, so the memory is always mapped.
kmap_atomic() is not necessary here. This patch removes the kmap_atomic()
calls and related code for locking and page manipulation.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/netvsc_drv.c
drivers/net/hyperv/rndis_filter.c