summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-04-10 06:15:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-11 17:05:50 +0300
commit3da1b2371ec27accebe601e84a41f8b67f9b5688 (patch)
treed91c17978bd2e83079572f430d58dbd3bc6f3497 /scripts/const_structs.checkpatch
parentb121d84882b97b8668be0b95e9ba50cfd01aa0f1 (diff)
downloadlinux-3da1b2371ec27accebe601e84a41f8b67f9b5688.tar.xz
staging: ks7010: utilize local variable
Function contains a local pointer variable defined to a memory location within a structure. This memory location is later used by dereferencing the struct instead of using the local pointer. The code is cleaner if all references of the same memory location use the local variable. Utilize existing local pointer variable instead of dereferencing struct. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions