scsi: nsp32: Remove unnecessary self assignment in nsp32_set_sync_entry
Clang warns: drivers/scsi/nsp32.c:2444:14: warning: explicitly assigning value of variable of type 'unsigned char' to itself [-Wself-assign] offset = offset; ~~~~~~ ^ Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Acked-by: GOTO Masanori <gotom@debian.or.jp> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
bc03abd287
commit
c9c1df3e8c
|
@ -2441,7 +2441,6 @@ static void nsp32_set_sync_entry(nsp32_hw_data *data,
|
|||
|
||||
period = data->synct[entry].period_num;
|
||||
ackwidth = data->synct[entry].ackwidth;
|
||||
offset = offset;
|
||||
sample_rate = data->synct[entry].sample_rate;
|
||||
|
||||
target->syncreg = TO_SYNCREG(period, offset);
|
||||
|
|
Loading…
Reference in New Issue