diff options
author | James Simmons <jsimmons@infradead.org> | 2017-01-28 19:05:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-03 13:01:38 +0100 |
commit | 62898c2d7efc1029d77b5fabe968871524f0297c (patch) | |
tree | e89773e7e354bd8b2b55b8cd85a1709a1e2baef5 /scripts/gcc-plugins/gcc-common.h | |
parent | 1a8dded1a3fcfb0c865a35688c86aa45bac37393 (diff) |
staging: lustre: obd: move s3 in lmd_parse to inner loop
Building the lustre client with W=1 reports the following
error:
obdclass/obd_mount.c: In function lmd_parse:
obdclass/obd_mount.c:880: warning: variable set but not used
The solution is to move s3 to the inner loop
where it is only used.
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8378
Reviewed-on: https://review.whamcloud.com/23820
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions