drivers/staging/lustre: Clean up another C warnining: set but not used
authorValdis Kletnieks <Valdis.Kletnieks@vt.edu>
Wed, 23 Dec 2015 00:36:51 +0000 (19:36 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:21:27 +0000 (14:21 -0800)
commit7f6ab07293c8ee6a64783b01840189f894dc3f16
tree55e0fd1808c20f52ed62d238107fab2a6f08f219
parentf65a0922f024d44a73fa113a833e55f4a5033597
drivers/staging/lustre: Clean up another C warnining: set but not used

drivers/staging/lustre/lustre/fid/../include/lustre_cfg.h: In function 'lustre_cfg_free':
drivers/staging/lustre/lustre/fid/../include/lustre_cfg.h:253:6: warning: variable 'len' set but not used [-Wunused-but-set-variable]
  int len;

Yep, we're just gonna call kfree, no need to calculate len. Bye-bye.

Signed-off-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre_cfg.h