staging: lustre: silence a static checker warning
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 16 Oct 2014 07:56:25 +0000 (10:56 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 08:25:23 +0000 (16:25 +0800)
commit92a1daba3a11c027e491c4850dc35163f4a142b1
tree8d7b6a5fd9bf364271df691613ca9f2c951e896c
parent22e1dd69fec2f0e887103f6b0dc8e310f649c1c1
staging: lustre: silence a static checker warning

Static checkers warn that if  cfs_cpt_table_print() returns an error
other than -EFBIG, then it would lead to a double free.  This is true
but cfs_cpt_table_print() only returns -EFBIG on error so it also won't
happen in real life.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c