diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2014-06-01 03:08:32 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-03 04:11:03 +0400 |
commit | 74e8ce34ae300d899cd2346065c6d85253f15701 (patch) | |
tree | 2c8b8b3fe7a28167b38dd9b273ef4b4bad46d2b7 /drivers/atm/fore200e.c | |
parent | c65a9656f18d2db52dedf86b294546da91408c41 (diff) | |
download | linux-74e8ce34ae300d899cd2346065c6d85253f15701.tar.xz |
atm: fore200e.c: Cleaning up uninitialized variables
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>
Diffstat (limited to 'drivers/atm/fore200e.c')
-rw-r--r-- | drivers/atm/fore200e.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index 204814e88e46..d4725fc0395d 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c @@ -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"); |