mirror of https://gitee.com/openkylin/linux.git
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
Pull small IDE cleanup from David Miller. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide: ide: remove duplicated assignment to 'cursg'
This commit is contained in:
commit
7109a04eae
|
@ -232,7 +232,6 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd,
|
|||
unsigned int offset;
|
||||
u8 *buf;
|
||||
|
||||
cursg = cmd->cursg;
|
||||
if (cursg == NULL)
|
||||
cursg = cmd->cursg = sg;
|
||||
|
||||
|
|
Loading…
Reference in New Issue