commit | 8b76f5da49f0d432a747dbc0c4667dcd1ffb9945 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Tue Jan 16 17:54:22 2018 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 29 15:01:09 2018 -0500 |
tree | 278ce707e2f7988b82ab9176d8794c743d7946eb | |
parent | 47d5cc5be396eca67cc89572957ff16f10fd768e [diff] |
ide: remove duplicated assignment to 'cursg' Pointer cursg is initialized to cmd->cursg and again re-assigned the same value a few lines later, hence the second assignment is redundant and can be removed. Cleans up clang warning: drivers/ide/ide-taskfile.c:229:22: warning: Value stored to 'cursg' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>