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:
Linus Torvalds 2018-02-01 09:37:30 -08:00
commit 7109a04eae
1 changed files with 0 additions and 1 deletions

View File

@ -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;