summaryrefslogtreecommitdiff
path: root/drivers/scsi/bfa/bfa_fcbuild.h
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-09-21 01:17:06 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-17 01:19:46 +0300
commit3e59790e07a94dc3bef541aa044dde36fdb61714 (patch)
treed416d1ac90793150ec6e37a98dc897590c524146 /drivers/scsi/bfa/bfa_fcbuild.h
parent242b4a39be7364979cbccf5bc446d8db45cb2014 (diff)
downloadlinux-3e59790e07a94dc3bef541aa044dde36fdb61714.tar.xz
scsi: qla2xxx: Remove unnecessary self assignment
Clang warns when a variable is assigned to itself. drivers/scsi/qla2xxx/qla_mbx.c:1514:4: warning: explicitly assigning value of variable of type 'uint64_t' (aka 'unsigned long long') to itself [-Wself-assign] l = l; ~ ^ ~ 1 warning generated. This construct is usually used to avoid unused variable warnings, which I assume is the case here. -Wunused-parameter is hidden behind -Wextra with GCC 4.6, which is the minimum version to compile the kernel as of commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6"). Just remove this line to silence Clang. Link: https://github.com/ClangBuiltLinux/linux/issues/83 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_fcbuild.h')
0 files changed, 0 insertions, 0 deletions