Skip to content

Commit

Permalink
atm: fore200e.c: Cleaning up uninitialized variables
Browse files Browse the repository at this point in the history
There is a risk that the variable will be used without being initialized.

This was largely found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Rickard Strandqvist authored and David S. Miller committed Jun 3, 2014
1 parent c65a965 commit 74e8ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/atm/fore200e.c
Original file line number Diff line number Diff line change
Expand Up @@ -2780,7 +2780,7 @@ static struct pci_driver fore200e_pca_driver = {

static int __init fore200e_module_init(void)
{
int err;
int err = 0;

printk(FORE200E "FORE Systems 200E-series ATM driver - version " FORE200E_VERSION "\n");

Expand Down

0 comments on commit 74e8ce3

Please sign in to comment.