Skip to content

Commit 74e8ce3

Browse files
Rickard Strandqvistdavem330
authored andcommitted
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>
1 parent c65a965 commit 74e8ce3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/atm/fore200e.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2780,7 +2780,7 @@ static struct pci_driver fore200e_pca_driver = {
27802780

27812781
static int __init fore200e_module_init(void)
27822782
{
2783-
int err;
2783+
int err = 0;
27842784

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

0 commit comments

Comments
 (0)