diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2011-02-18 15:05:52 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-23 13:22:26 -0800 |
commit | 6fbb47859faa88e7fca458497d9688e928e587e1 (patch) | |
tree | 53109017bb71f65db5d7b7b7d89783ab3c6b1b98 | |
parent | 3173a5ecd8c4a1409d5af036977f326de2bee05d (diff) | |
download | kernel_samsung_smdk4412-6fbb47859faa88e7fca458497d9688e928e587e1.zip kernel_samsung_smdk4412-6fbb47859faa88e7fca458497d9688e928e587e1.tar.gz kernel_samsung_smdk4412-6fbb47859faa88e7fca458497d9688e928e587e1.tar.bz2 |
staging: hv: Remove unnecessary ASSERTs in netvsc_initialize()
These fields have been assigned in netvsc_drv_init() before calling
netvsc_initialize(), so there is no need to check them.
The ASSERTs were already commented out, and this patch removes
them.
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>
-rw-r--r-- | drivers/staging/hv/netvsc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index 8c6d4ae..f21a59d 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c @@ -188,11 +188,6 @@ int netvsc_initialize(struct hv_driver *drv) drv->name = driver_name; memcpy(&drv->dev_type, &netvsc_device_type, sizeof(struct hv_guid)); - /* Make sure it is set by the caller */ - /* FIXME: These probably should still be tested in some way */ - /* ASSERT(driver->OnReceiveCallback); */ - /* ASSERT(driver->OnLinkStatusChanged); */ - /* Setup the dispatch table */ driver->base.dev_add = netvsc_device_add; driver->base.dev_rm = netvsc_device_remove; |