summaryrefslogtreecommitdiffstats
path: root/drivers/atm/fore200e.c
diff options
context:
space:
mode:
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>2014-06-01 01:08:32 +0200
committerDavid S. Miller <davem@davemloft.net>2014-06-02 17:11:03 -0700
commit74e8ce34ae300d899cd2346065c6d85253f15701 (patch)
tree2c8b8b3fe7a28167b38dd9b273ef4b4bad46d2b7 /drivers/atm/fore200e.c
parentc65a9656f18d2db52dedf86b294546da91408c41 (diff)
downloadlinux-74e8ce34ae300d899cd2346065c6d85253f15701.tar.gz
linux-74e8ce34ae300d899cd2346065c6d85253f15701.tar.bz2
linux-74e8ce34ae300d899cd2346065c6d85253f15701.zip
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.c2
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");