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>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1312655064-28311-1-git-send-email-wangshaoyan.pt@taobao.com>
Date:	Sun,  7 Aug 2011 02:24:24 +0800
From:	stufever@...il.com
To:	linux-kernel@...r.kernel.org
Cc:	linux-iio@...r.kernel.org, gregkh@...e.de, jic23@....ac.uk,
	Wang Shaoyan <wangshaoyan.pt@...bao.com>
Subject: [PATCH] staging: IIO: DAC: Delete useless label error_ret in ade7854.c

From: Wang Shaoyan <wangshaoyan.pt@...bao.com>

  drivers/staging/iio/meter/ade7854.c: In function 'ade7854_probe':
  drivers/staging/iio/meter/ade7854.c:585: warning: label 'error_ret' defined but not used

The label error_ret is defined, but never used, so delete it to avoid annoying warning.

Signed-off-by: Wang Shaoyan <wangshaoyan.pt@...bao.com>
---
 drivers/staging/iio/meter/ade7854.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/iio/meter/ade7854.c b/drivers/staging/iio/meter/ade7854.c
index b82659f..ac3f9d5 100644
--- a/drivers/staging/iio/meter/ade7854.c
+++ b/drivers/staging/iio/meter/ade7854.c
@@ -582,7 +582,6 @@ error_unreg_dev:
 	iio_device_unregister(indio_dev);
 error_free_dev:
 	iio_free_device(indio_dev);
-error_ret:
 	return ret;
 }
 EXPORT_SYMBOL(ade7854_probe);
-- 
1.7.0.4

--
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