]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: lustre: llite: remove code never called
authorwang di <di.wang@intel.com>
Fri, 22 Jul 2016 02:44:09 +0000 (22:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 16:31:06 +0000 (18:31 +0200)
commit26f5c084c6cf87de694d62308a97293158e10c37
tree7c5ce76e31b96165bca38d932cb32257506bbb52
parent4f48c52c57d4adf1f67757ae1a3b4b6ae091a90d
staging: lustre: llite: remove code never called

We have if (1) conditionals which is pointless so remove
it and the next code block is never called so remove that
as well.

Signed-off-by: wang di <di.wang@intel.com>
Reviewed-on: http://review.whamcloud.com/7043
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.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/llite/dir.c
drivers/staging/lustre/lustre/llite/statahead.c