[SCSI] dc395x: fix uninitialized var warning

drivers/scsi/dc395x.c: In function 'dc395x_init_one':
drivers/scsi/dc395x.c:4270: warning: 'ptr' may be used uninitialized in this function

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

Andrew Morton and committed by
James Bottomley
8144f213 a2c6ef71

+1 -1
+1 -1
drivers/scsi/dc395x.c
··· 4267 4267 const unsigned srbs_per_page = PAGE_SIZE/SEGMENTX_LEN; 4268 4268 int srb_idx = 0; 4269 4269 unsigned i = 0; 4270 - struct SGentry *ptr; 4270 + struct SGentry *uninitialized_var(ptr); 4271 4271 4272 4272 for (i = 0; i < DC395x_MAX_SRB_CNT; i++) 4273 4273 acb->srb_array[i].segment_x = NULL;