OSDN Git Service

staging: lustre: obdclass: no need to check for kfree
authorJames Simmons <jsimmons@infradead.org>
Sun, 20 Aug 2017 02:26:18 +0000 (22:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2017 01:36:49 +0000 (18:36 -0700)
commit4599c8ebb2bbec3df5cfa306b3ef102bb8824181
tree5cdeb2221ff4892676916978b6835e5f6c844c6b
parent90d1e58830ec6060155ebfbb4645257be5d9b37b
staging: lustre: obdclass: no need to check for kfree

In class_config_llog_handler() a flag, inst, was used to
determine if it was safe to call kfree. Its not needed so
remove the flag.

Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401
Reviewed-on: https://review.whamcloud.com/26966
Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/obd_config.c