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:
@@ -232,7 +232,6 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd,
|
|||||||
unsigned int offset;
|
unsigned int offset;
|
||||||
u8 *buf;
|
u8 *buf;
|
||||||
|
|
||||||
cursg = cmd->cursg;
|
|
||||||
if (cursg == NULL)
|
if (cursg == NULL)
|
||||||
cursg = cmd->cursg = sg;
|
cursg = cmd->cursg = sg;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user