aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-01-16 17:54:22 +0000
committerDavid S. Miller <[email protected]>2018-01-29 20:01:09 +0000
commit8b76f5da49f0d432a747dbc0c4667dcd1ffb9945 (patch)
tree278ce707e2f7988b82ab9176d8794c743d7946eb /scripts/gcc-plugins/randomize_layout_plugin.c
parentMerge tag 'hwmon-for-linus-v4.16' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-8b76f5da49f0d432a747dbc0c4667dcd1ffb9945.tar.gz
kernel-8b76f5da49f0d432a747dbc0c4667dcd1ffb9945.zip
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions