[SCSI] qla2xxx: Fix "active_mask" may be used uninitialized warning.
authorChad Dupuis <chad.dupuis@qlogic.com>
Tue, 16 Aug 2011 18:31:55 +0000 (11:31 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 29 Aug 2011 07:14:57 +0000 (00:14 -0700)
commite5fdae5583e30bbc730e2035d0b6da33e7d8e4ee
tree82fd2c7bffb192f3e2f9faa38bfee41dc6f0ee94
parent3173167f015b779e549e1be04707316cce1b57f1
[SCSI] qla2xxx: Fix "active_mask" may be used uninitialized warning.

Since active_mask is first assigned in an "else" block, the compiler throws
a warning saying that the active_mask variable may be used uninitialized in
a print statement later.  Initialize active_mask to 0 in the declaration to
stop the warning.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_nx.c