]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: Delete an unnecessary variable initialisation in class_register_type()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 5 Nov 2015 09:55:16 +0000 (10:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit14e384ce758d613cf9da0b3fb4c2e66d58917ac0
tree3ca4db3f08ba8706f09c3908477200a0475ad2bc
parent5bfd446e7bd94ee6f9c17d07b5d47342b96b387a
staging: lustre: Delete an unnecessary variable initialisation in class_register_type()

The variable "rc" will be eventually set to an error return code in the
class_register_type() function.
Thus let us omit the explicit initialisation at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/genops.c