From: Sudip Mukherjee Date: Tue, 24 Mar 2015 15:17:26 +0000 (+0530) Subject: staging: unisys: remove redundant variable X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~52 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61986f730eb83912ac4a0c59b671232bdee07c40;p=pandora-kernel.git staging: unisys: remove redundant variable remove the variable "registered", which was used in the cleanup() to detect if the driver has successfully initialized. the cleanup() is called from module_exit, so its obvious that the module has successfully initialized. if the initialization had failed, then we will never be in the cleanup(). Signed-off-by: Sudip Mukherjee Reviewed-by: Dan Carpenter Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed