drivers/rtc/rtc-armada38x: Remove unused variable from armada38x_rtc_set_time()
Subsystems (2)
PATCH 1/1 drivers/rtc/rtc-armada38x: Remove unused variable from armada38x_rtc_set_time()
From: Fabio Estevam <[email protected]>
Remove the 'flags' variable in order to fix the following warning:
drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable]
--- drivers/rtc/rtc-armada38x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-armada38x.c +1 -1
@@ -88,7 +88,7 @@ static int armada38x_rtc_set_time(struct device *dev, struct rtc_time *tm) {struct armada38x_rtc *rtc =dev_get_drvdata (dev);int ret =0 ; -unsigned long time, flags; +unsigned long time; ret =rtc_tm_to_time (tm, &time);
Signature · 12 lines
1.9.1 -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
Hi Fabio,
Quoted 6 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Remove the 'flags' variable in order to fix the following warning:
drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable]
Thank you but I'm pretty sure that one is fixed (that is the fourth patch to do so) ;)
Quoted 21 lines
Signed-off-by Fabio Estevam <[email protected]>--- drivers/rtc/rtc-armada38x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/rtc/rtc-armada38x.c +1
-1@@ -88,7 +88,7 @@ static int armada38x_rtc_set_time(struct device *dev, struct rtc_time *tm) {struct armada38x_rtc *rtc =dev_get_drvdata (dev);int ret =0 ; -unsigned long time, flags; +unsigned long time; ret =rtc_tm_to_time (tm, &time);Signature · 1 line
1.9.1
Signature · 14 lines
Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
Hi Alexandre,
Quoted 5 lines · Alexandre Belloni
Hi Fabio,
Quoted 2 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Quoted 7 lines
Quoted 4 lines
Remove the 'flags' variable in order to fix the following warning:
drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable]Thank you but I'm pretty sure that one is fixed (that is the fourth patch to do so) ;)
Well, it should be fixed however none of the patch sent were merged in Linus tree yet...
Thanks,
Gregory
Quoted 23 lines
Quoted 22 lines
Signed-off-by Fabio Estevam <[email protected]>--- drivers/rtc/rtc-armada38x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/rtc/rtc-armada38x.c +1
-1@@ -88,7 +88,7 @@ static int armada38x_rtc_set_time(struct device *dev, struct rtc_time *tm) {struct armada38x_rtc *rtc =dev_get_drvdata (dev);int ret =0 ; -unsigned long time, flags; +unsigned long time; ret =rtc_tm_to_time (tm, &time);Signature · 1 line
1.9.1
Signature · 15 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
Hi,
Quoted 10 lines · Gregory CLEMENT
Hi Alexandre,
Quoted 7 lines · Alexandre Belloni
Hi Fabio,
Quoted 4 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Remove the 'flags' variable in order to fix the following warning:
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable]Thank you but I'm pretty sure that one is fixed (that is the fourth patch to do so) ;)
Well, it should be fixed however none of the patch sent were merged in Linus tree yet...
Hum, okay, I just realized f98b733e93e00365b4df78fbb33c2cad3080f6bb is not fixing it...
Signature · 14 lines
Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
Quoted 2 lines · Alexandre Belloni
Hum, okay, I just realized
f98b733e93e00365b4df78fbb33c2cad3080f6bbis not fixing it...
Yes, the build warning is still present in linux-next.
Signature · 9 lines
-- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
Alexandre Belloni
AppliedQuoted 7 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Remove the 'flags' variable in order to fix the following warning:
drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable]Signed-off-by Fabio Estevam <[email protected]>
Applied, thanks.
Signature · 14 lines
Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.