summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-02-01 09:37:30 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2018-02-01 09:37:30 -0800
commit7109a04eae81c41ed529da9f3c48c3655ccea741 (patch)
treeafd5492997f4f4d4eb72be840d50008867be47db /drivers
parentba49097e1de4bd382a0ea0452f3518b9b5e4c99d (diff)
parent8b76f5da49f0d432a747dbc0c4667dcd1ffb9945 (diff)
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'
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/ide-taskfile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c
index 4efe4c6e956c..abe0822dd429 100644
--- a/drivers/ide/ide-taskfile.c
+++ b/drivers/ide/ide-taskfile.c
@@ -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;