summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-09-21 01:48:30 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-22 05:05:57 +0300
commit94e7c844990f0db92418586b107be135b4963b66 (patch)
tree93b50ede21b90d003d962745432460c8777816aa /tools/perf/scripts/python/export-to-postgresql.py
parent6b8e327cfa2dfb9da2bd70326494a1f5ca9968f7 (diff)
downloadlinux-94e7c844990f0db92418586b107be135b4963b66.tar.xz
net: lan78xx: Avoid unnecessary self assignment
Clang warns when a variable is assigned to itself. drivers/net/usb/lan78xx.c:940:11: warning: explicitly assigning value of variable of type 'u32' (aka 'unsigned int') to itself [-Wself-assign] offset = offset; ~~~~~~ ^ ~~~~~~ 1 warning generated. Reorder the if statement to acheive the same result and avoid a self assignment warning. Link: https://github.com/ClangBuiltLinux/linux/issues/129 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions