Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
Browse files Browse the repository at this point in the history
Pull small IDE cleanup from David Miller.

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide:
  ide: remove duplicated assignment to 'cursg'
  • Loading branch information
torvalds committed Feb 1, 2018
2 parents ba49097 + 8b76f5d commit 7109a04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/ide/ide-taskfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7109a04

Please sign in to comment.