staging: hv: Fix the WARN_ON condition in free_net_device()
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 18 Feb 2011 23:05:53 +0000 (15:05 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Feb 2011 21:22:26 +0000 (13:22 -0800)
commit31acaa50c6c61bfb486dacaa2ec62950a42de233
treebe19cd0c4187f8c6b64dcf1391823b1a45dda20d
parent6fbb47859faa88e7fca458497d9688e928e587e1
staging: hv: Fix the WARN_ON condition in free_net_device()

In a previous commit, 7a09876d, ASSERT was changed to WARN_ON, but
the condition wasn't updated. This patch fixed this error.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/netvsc.c