Commit 5a5e889c authored by Jean Sacren's avatar Jean Sacren Committed by Jeff Kirsher

e1000e: clean up the local variable

The local variable 'ret' doesn't serve much purpose so we might as well
clean it up.
Signed-off-by: default avatarJean Sacren <sakiwit@gmail.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent b6fad9f9
...@@ -7504,14 +7504,11 @@ static struct pci_driver e1000_driver = { ...@@ -7504,14 +7504,11 @@ static struct pci_driver e1000_driver = {
**/ **/
static int __init e1000_init_module(void) static int __init e1000_init_module(void)
{ {
int ret;
pr_info("Intel(R) PRO/1000 Network Driver - %s\n", pr_info("Intel(R) PRO/1000 Network Driver - %s\n",
e1000e_driver_version); e1000e_driver_version);
pr_info("Copyright(c) 1999 - 2015 Intel Corporation.\n"); pr_info("Copyright(c) 1999 - 2015 Intel Corporation.\n");
ret = pci_register_driver(&e1000_driver);
return ret; return pci_register_driver(&e1000_driver);
} }
module_init(e1000_init_module); module_init(e1000_init_module);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment