Skip to content

Commit

Permalink
e1000e: clean up the local variable
Browse files Browse the repository at this point in the history
The local variable 'ret' doesn't serve much purpose so we might as well
clean it up.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
  • Loading branch information
Jean Sacren authored and Jeff Kirsher committed Dec 13, 2015
1 parent b6fad9f commit 5a5e889
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/net/ethernet/intel/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -7504,14 +7504,11 @@ static struct pci_driver e1000_driver = {
**/
static int __init e1000_init_module(void)
{
int ret;

pr_info("Intel(R) PRO/1000 Network Driver - %s\n",
e1000e_driver_version);
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);

Expand Down

0 comments on commit 5a5e889

Please sign in to comment.