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  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]
Date:	Thu,  7 Aug 2014 16:10:32 +0530
From:	Pramod Gurav <>
Cc:	Pramod Gurav <>,
	Mark Brown <>,
	Grant Likely <>
Subject: [PATCH] spi: qup: Remove unnecessary initialization of local variable

The initialization of variable ret is unnecessary, Hence removing it.

CC: Mark Brown <>
CC: Grant Likely <>

Signed-off-by: Pramod Gurav <>
 drivers/spi/spi-qup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c
index c08da38..369f05c 100644
--- a/drivers/spi/spi-qup.c
+++ b/drivers/spi/spi-qup.c
@@ -430,7 +430,7 @@ static int spi_qup_transfer_one(struct spi_master *master,
 	struct spi_qup *controller = spi_master_get_devdata(master);
 	unsigned long timeout, flags;
-	int ret = -EIO;
+	int ret;
 	ret = spi_qup_io_config(spi, xfer);
 	if (ret)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists