lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1434016948-18287-1-git-send-email-habdul@visteon.com>
Date:	Thu, 11 Jun 2015 10:03:49 +0000
From:	"Abdul, Hussain (H.)" <habdul@...teon.com>
To:	"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
	"benjamin.romer@...sys.com" <benjamin.romer@...sys.com>,
	"david.kershner@...sys.com" <david.kershner@...sys.com>,
	"sparmaintainer@...sys.com" <sparmaintainer@...sys.com>
CC:	"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] staging: unisys: Remove unneeded variable 

This patch remove unneeded variable used to store return value.

Signed-off-by: Abdul Hussain <habdul@...teon.com>
---
 drivers/staging/unisys/visorbus/visorbus_main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c
index c7db681..bceec88 100644
--- a/drivers/staging/unisys/visorbus/visorbus_main.c
+++ b/drivers/staging/unisys/visorbus/visorbus_main.c
@@ -835,7 +835,6 @@ away:
 static int
 visordriver_remove_device(struct device *xdev)
 {
-	int rc = 0;
 	struct visor_device *dev;
 	struct visor_driver *drv;
 
@@ -858,7 +857,7 @@ visordriver_remove_device(struct device *xdev)
 
 	put_device(&dev->device);
 
-	return rc;
+	return 0;
 }
 
 /** A particular type of visor driver calls this function to register
-- 
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ