All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][TRIVIAL] mfd: Remove unused variable "desc" from function da9052_device_init.
@ 2012-05-23 16:30 Krzysztof Wilczynski
  2012-06-29 11:15 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Wilczynski @ 2012-05-23 16:30 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: trivial, linux-kernel

This is to address the following warning during compilation time:

  drivers/mfd/da9052-core.c: In function ‘da9052_device_init’:
  drivers/mfd/da9052-core.c:646: warning: unused variable ‘desc’

This variable is indeed no longer in use (change can be traced back
to commit: 8614419451d88bf99fff7f5e468fe45f8450891e).

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
---
 drivers/mfd/da9052-core.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c
index 7776aff..88c2c26 100644
--- a/drivers/mfd/da9052-core.c
+++ b/drivers/mfd/da9052-core.c
@@ -643,7 +643,6 @@ EXPORT_SYMBOL_GPL(da9052_regmap_config);
 int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id)
 {
 	struct da9052_pdata *pdata = da9052->dev->platform_data;
-	struct irq_desc *desc;
 	int ret;
 
 	if (pdata && pdata->init != NULL)
-- 
1.7.2.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][TRIVIAL] mfd: Remove unused variable "desc" from function da9052_device_init.
  2012-05-23 16:30 [PATCH][TRIVIAL] mfd: Remove unused variable "desc" from function da9052_device_init Krzysztof Wilczynski
@ 2012-06-29 11:15 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2012-06-29 11:15 UTC (permalink / raw)
  To: Krzysztof Wilczynski; +Cc: trivial, linux-kernel

Hi Krzysztof,

On Wed, May 23, 2012 at 05:30:48PM +0100, Krzysztof Wilczynski wrote:
> This is to address the following warning during compilation time:
> 
>   drivers/mfd/da9052-core.c: In function ‘da9052_device_init’:
>   drivers/mfd/da9052-core.c:646: warning: unused variable ‘desc’
> 
> This variable is indeed no longer in use (change can be traced back
> to commit: 8614419451d88bf99fff7f5e468fe45f8450891e).
> 
> Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
> ---
>  drivers/mfd/da9052-core.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
Applied to my for-next branch, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-29 11:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-23 16:30 [PATCH][TRIVIAL] mfd: Remove unused variable "desc" from function da9052_device_init Krzysztof Wilczynski
2012-06-29 11:15 ` Samuel Ortiz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.