Staging: hv: Fix null pointer error after vmbus loading
commit1bb40a25b26ef7e2c4fb79ce430de2b9f836527f
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 23 Oct 2009 18:14:24 +0000 (23 18:14 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Oct 2009 21:47:43 +0000 (30 14:47 -0700)
tree4ab5f85e99400a2e1ca17f247d05db0a23d4819a
parent9bd0591be06a6a8e2f63c1dba4a64704c9d2002f
Staging: hv: Fix null pointer error after vmbus loading

Fix null pointer error after vmbus loading. Remove code that checks for
dev_name, the affected structure is kzalloc-ed prior to this routine, so
it is always null at this stage.

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