Re: [PATCH] [SCSI] aic7xxx: remove redundant assignment to error

2017-04-18 Thread Johannes Thumshirn
On Tue, Apr 18, 2017 at 12:53:27PM +0100, Colin King wrote: > From: Colin Ian King > > error is initially assigned to ENOENT and a few statements later > is re-assigned to the error return from the call to ahd_wait_seeprom, > hence the initial assignment is redundant and can be removed. > > Sign

[PATCH] [SCSI] aic7xxx: remove redundant assignment to error

2017-04-18 Thread Colin King
From: Colin Ian King error is initially assigned to ENOENT and a few statements later is re-assigned to the error return from the call to ahd_wait_seeprom, hence the initial assignment is redundant and can be removed. Signed-off-by: Colin Ian King --- drivers/scsi/aic7xxx/aic79xx_core.c | 1 -