diff options
| author | 2015-12-22 19:36:50 -0500 | |
|---|---|---|
| committer | 2016-02-03 14:21:27 -0800 | |
| commit | f65a0922f024d44a73fa113a833e55f4a5033597 (patch) | |
| tree | 43388ed35a8f4e10b1269de0dfc5aa504ce07375 /include/linux/vmalloc.h | |
| parent | drivers/staging/lustre: Silence warning about 'inline' (diff) | |
drivers/staging/lustre: Fix set-but-unused whinge.
drivers/staging/lustre/lustre/fid/lproc_fid.c: In function 'ldebugfs_fid_write_common':
drivers/staging/lustre/lustre/fid/lproc_fid.c:67:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
int rc;
We fix it by *using* the return code to help bulletproof it. It says it's
test code - it should be *more* bulletproof than production, not less.
Signed-off-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/vmalloc.h')
0 files changed, 0 insertions, 0 deletions
