summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-03-24 20:47:26 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-27 00:01:23 +0100
commit61986f730eb83912ac4a0c59b671232bdee07c40 (patch)
treee8d4853900d34722132447296c9a6598501d793b /include/linux
parent8ee775f92c8af2eb1626d39f06feac04fe0cb6e0 (diff)
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 <sudip@vectorindia.org> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions