diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-10 07:55:56 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-11 13:49:22 -0700 |
commit | 154a61cd87adecf26797caa123e3f280f38e6f67 (patch) | |
tree | bb96097e7dd9ef23849a85d48280966b6b76527a /drivers/staging/hv/blkvsc_drv.c | |
parent | 3e3264996f313036df518560b58f909d269ff069 (diff) | |
download | op-kernel-dev-154a61cd87adecf26797caa123e3f280f38e6f67.zip op-kernel-dev-154a61cd87adecf26797caa123e3f280f38e6f67.tar.gz |
Staging: hv: Make blkvsc_drv_init the module init function
Now, get rid of the redundant function and make
blkvsc_drv_init the module init function.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/blkvsc_drv.c')
-rw-r--r-- | drivers/staging/hv/blkvsc_drv.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index 6b665d2..8721dbc 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -1044,15 +1044,6 @@ static void blkvsc_request_completion(struct hv_storvsc_request *request) spin_unlock_irqrestore(&blkdev->lock, flags); } -static int __init blkvsc_init(void) -{ - int ret; - - ret = blkvsc_drv_init(); - - return ret; -} - static void __exit blkvsc_exit(void) { blkvsc_drv_exit(); @@ -1061,5 +1052,5 @@ static void __exit blkvsc_exit(void) MODULE_LICENSE("GPL"); MODULE_VERSION(HV_DRV_VERSION); MODULE_DESCRIPTION("Microsoft Hyper-V virtual block driver"); -module_init(blkvsc_init); +module_init(blkvsc_drv_init); module_exit(blkvsc_exit); |