* ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree"
[not found] ` <5317A59D.4@users.sourceforge.net>
@ 2014-11-17 13:15 ` SF Markus Elfring
2014-11-17 19:11 ` Jarkko Nikula
2014-11-18 9:40 ` Mark Brown
2014-11-22 10:00 ` [PATCH 1/1] ARM: OMAP2: Deletion of unnecessary checks before three function calls SF Markus Elfring
` (6 subsequent siblings)
7 siblings, 2 replies; 20+ messages in thread
From: SF Markus Elfring @ 2014-11-17 13:15 UTC (permalink / raw)
To: Jarkko Nikula, Jaroslav Kysela, Liam Girdwood, Mark Brown,
Peter Ujfalusi, Takashi Iwai, linux-omap, alsa-devel
Cc: LKML, kernel-janitors, Coccinelle
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 17 Nov 2014 14:05:27 +0100
The kfree() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
sound/soc/omap/mcbsp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sound/soc/omap/mcbsp.c b/sound/soc/omap/mcbsp.c
index 86c7538..68a1252 100644
--- a/sound/soc/omap/mcbsp.c
+++ b/sound/soc/omap/mcbsp.c
@@ -621,8 +621,7 @@ void omap_mcbsp_free(struct omap_mcbsp *mcbsp)
mcbsp->reg_cache = NULL;
spin_unlock(&mcbsp->lock);
- if (reg_cache)
- kfree(reg_cache);
+ kfree(reg_cache);
}
/*
--
2.1.3
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree"
2014-11-17 13:15 ` ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree" SF Markus Elfring
@ 2014-11-17 19:11 ` Jarkko Nikula
2014-11-18 9:40 ` Mark Brown
1 sibling, 0 replies; 20+ messages in thread
From: Jarkko Nikula @ 2014-11-17 19:11 UTC (permalink / raw)
To: SF Markus Elfring, Jaroslav Kysela, Liam Girdwood, Mark Brown,
Peter Ujfalusi, Takashi Iwai, linux-omap, alsa-devel
Cc: kernel-janitors, LKML, Coccinelle
On 11/17/2014 03:15 PM, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Mon, 17 Nov 2014 14:05:27 +0100
>
> The kfree() function tests whether its argument is NULL and then
> returns immediately. Thus the test around the call is not needed.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---
> sound/soc/omap/mcbsp.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree"
2014-11-17 13:15 ` ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree" SF Markus Elfring
2014-11-17 19:11 ` Jarkko Nikula
@ 2014-11-18 9:40 ` Mark Brown
1 sibling, 0 replies; 20+ messages in thread
From: Mark Brown @ 2014-11-18 9:40 UTC (permalink / raw)
To: SF Markus Elfring
Cc: Jarkko Nikula, Jaroslav Kysela, Liam Girdwood, Peter Ujfalusi,
Takashi Iwai, linux-omap, alsa-devel, LKML, kernel-janitors,
Coccinelle
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
On Mon, Nov 17, 2014 at 02:15:01PM +0100, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Mon, 17 Nov 2014 14:05:27 +0100
>
> The kfree() function tests whether its argument is NULL and then
> returns immediately. Thus the test around the call is not needed.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH 1/1] ARM: OMAP2: Deletion of unnecessary checks before three function calls
[not found] ` <5317A59D.4@users.sourceforge.net>
2014-11-17 13:15 ` ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree" SF Markus Elfring
@ 2014-11-22 10:00 ` SF Markus Elfring
2015-06-30 12:10 ` [PATCH] ARM: OMAP2: Delete " SF Markus Elfring
2014-11-23 13:14 ` [PATCH 1/1] video: fbdev-OMAP2: Deletion of unnecessary checks before the function call "i2c_put_adapter" SF Markus Elfring
` (5 subsequent siblings)
7 siblings, 1 reply; 20+ messages in thread
From: SF Markus Elfring @ 2014-11-22 10:00 UTC (permalink / raw)
To: Benoît Cousson, Paul Walmsley, Russell King, Tony Lindgren,
linux-arm-kernel, linux-omap
Cc: LKML, kernel-janitors, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sat, 22 Nov 2014 10:50:33 +0100
The functions clk_disable(), of_node_put() and omap_device_delete() test
whether their argument is NULL and then return immediately.
Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
arch/arm/mach-omap2/omap_device.c | 3 +--
arch/arm/mach-omap2/omap_hwmod.c | 3 +--
arch/arm/mach-omap2/timer.c | 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c
index d22c30d..5108859 100644
--- a/arch/arm/mach-omap2/omap_device.c
+++ b/arch/arm/mach-omap2/omap_device.c
@@ -199,8 +199,7 @@ static int _omap_device_notifier_call(struct notifier_block *nb,
switch (event) {
case BUS_NOTIFY_DEL_DEVICE:
- if (pdev->archdata.od)
- omap_device_delete(pdev->archdata.od);
+ omap_device_delete(pdev->archdata.od);
break;
case BUS_NOTIFY_ADD_DEVICE:
if (pdev->dev.of_node)
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
index 9e91a4e..e2406c4 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -917,8 +917,7 @@ static int _disable_clocks(struct omap_hwmod *oh)
pr_debug("omap_hwmod: %s: disabling clocks\n", oh->name);
- if (oh->_clk)
- clk_disable(oh->_clk);
+ clk_disable(oh->_clk);
p = oh->slave_ports.next;
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index 43d03fb..5b428a0 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -205,8 +205,7 @@ static void __init omap_dmtimer_init(void)
/* If we are a secure device, remove any secure timer nodes */
if ((omap_type() != OMAP2_DEVICE_TYPE_GP)) {
np = omap_get_timer_dt(omap_timer_match, "ti,timer-secure");
- if (np)
- of_node_put(np);
+ of_node_put(np);
}
}
--
2.1.3
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 1/1] video: fbdev-OMAP2: Deletion of unnecessary checks before the function call "i2c_put_adapter"
[not found] ` <5317A59D.4@users.sourceforge.net>
2014-11-17 13:15 ` ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree" SF Markus Elfring
2014-11-22 10:00 ` [PATCH 1/1] ARM: OMAP2: Deletion of unnecessary checks before three function calls SF Markus Elfring
@ 2014-11-23 13:14 ` SF Markus Elfring
2015-02-03 10:21 ` [PATCH] ti-soc-thermal: Delete an unnecessary check before the function call "cpufreq_cooling_unregister" SF Markus Elfring
` (4 subsequent siblings)
7 siblings, 0 replies; 20+ messages in thread
From: SF Markus Elfring @ 2014-11-23 13:14 UTC (permalink / raw)
To: Jean-Christophe Plagniol-Villard, Tomi Valkeinen, linux-omap,
linux-fbdev
Cc: LKML, kernel-janitors, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 23 Nov 2014 14:07:22 +0100
The i2c_put_adapter() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/video/fbdev/omap2/displays-new/connector-dvi.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/video/fbdev/omap2/displays-new/connector-dvi.c b/drivers/video/fbdev/omap2/displays-new/connector-dvi.c
index 74de2bc..196c61a 100644
--- a/drivers/video/fbdev/omap2/displays-new/connector-dvi.c
+++ b/drivers/video/fbdev/omap2/displays-new/connector-dvi.c
@@ -262,8 +262,7 @@ static int dvic_probe_pdata(struct platform_device *pdev)
in = omap_dss_find_output(pdata->source);
if (in == NULL) {
- if (ddata->i2c_adapter)
- i2c_put_adapter(ddata->i2c_adapter);
+ i2c_put_adapter(ddata->i2c_adapter);
dev_err(&pdev->dev, "Failed to find video source\n");
return -EPROBE_DEFER;
@@ -352,8 +351,7 @@ static int dvic_probe(struct platform_device *pdev)
err_reg:
omap_dss_put_device(ddata->in);
- if (ddata->i2c_adapter)
- i2c_put_adapter(ddata->i2c_adapter);
+ i2c_put_adapter(ddata->i2c_adapter);
return r;
}
@@ -371,8 +369,7 @@ static int __exit dvic_remove(struct platform_device *pdev)
omap_dss_put_device(in);
- if (ddata->i2c_adapter)
- i2c_put_adapter(ddata->i2c_adapter);
+ i2c_put_adapter(ddata->i2c_adapter);
return 0;
}
--
2.1.3
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH] ti-soc-thermal: Delete an unnecessary check before the function call "cpufreq_cooling_unregister"
[not found] ` <5317A59D.4@users.sourceforge.net>
` (2 preceding siblings ...)
2014-11-23 13:14 ` [PATCH 1/1] video: fbdev-OMAP2: Deletion of unnecessary checks before the function call "i2c_put_adapter" SF Markus Elfring
@ 2015-02-03 10:21 ` SF Markus Elfring
2015-06-25 11:33 ` [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls SF Markus Elfring
` (3 subsequent siblings)
7 siblings, 0 replies; 20+ messages in thread
From: SF Markus Elfring @ 2015-02-03 10:21 UTC (permalink / raw)
To: Eduardo Valentin, Zhang Rui, linux-omap, linux-pm
Cc: LKML, kernel-janitors, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 3 Feb 2015 11:15:14 +0100
The cpufreq_cooling_unregister() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
index 3fb054a..a38c175 100644
--- a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
+++ b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
@@ -429,7 +429,7 @@ int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id)
data = ti_bandgap_get_sensor_data(bgp, id);
- if (data && data->cool_dev)
+ if (data)
cpufreq_cooling_unregister(data->cool_dev);
return 0;
--
2.2.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls
[not found] ` <5317A59D.4@users.sourceforge.net>
` (3 preceding siblings ...)
2015-02-03 10:21 ` [PATCH] ti-soc-thermal: Delete an unnecessary check before the function call "cpufreq_cooling_unregister" SF Markus Elfring
@ 2015-06-25 11:33 ` SF Markus Elfring
2015-06-25 11:38 ` [PATCH 1/2] ARM-OMAP2+: Delete an unnecessary check before the function call "omap_device_delete" SF Markus Elfring
` (2 more replies)
2015-06-28 12:36 ` [PATCH] video: fbdev: omap2: displays-new: Delete a check before backlight_device_unregister() SF Markus Elfring
` (2 subsequent siblings)
7 siblings, 3 replies; 20+ messages in thread
From: SF Markus Elfring @ 2015-06-25 11:33 UTC (permalink / raw)
To: Tony Lindgren, Russell King, linux-arm-kernel, linux-omap
Cc: LKML, kernel-janitors, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Thu, 25 Jun 2015 13:24:35 +0200
Some functions which release a system resource tolerate the passing
of a null pointer. I do not see a need because of this fact
that a function caller repeats a corresponding check.
Markus Elfring (2):
Delete a check before the function call "omap_device_delete"
Delete a check before the function call "of_node_put"
arch/arm/mach-omap2/omap_device.c | 3 +--
arch/arm/mach-omap2/timer.c | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
--
2.4.4
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH 1/2] ARM-OMAP2+: Delete an unnecessary check before the function call "omap_device_delete"
2015-06-25 11:33 ` [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls SF Markus Elfring
@ 2015-06-25 11:38 ` SF Markus Elfring
2015-06-25 11:40 ` [PATCH 2/2] ARM-OMAP2+: Delete an unnecessary check before the function call "of_node_put" SF Markus Elfring
2015-07-15 6:41 ` [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls Tony Lindgren
2 siblings, 0 replies; 20+ messages in thread
From: SF Markus Elfring @ 2015-06-25 11:38 UTC (permalink / raw)
To: Tony Lindgren, Russell King, linux-arm-kernel, linux-omap
Cc: LKML, kernel-janitors, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Thu, 25 Jun 2015 13:00:11 +0200
The omap_device_delete() function tests whether its argument is NULL and
then returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
arch/arm/mach-omap2/omap_device.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c
index 4cb8fd9..196366e 100644
--- a/arch/arm/mach-omap2/omap_device.c
+++ b/arch/arm/mach-omap2/omap_device.c
@@ -193,8 +193,7 @@ static int _omap_device_notifier_call(struct notifier_block *nb,
switch (event) {
case BUS_NOTIFY_DEL_DEVICE:
- if (pdev->archdata.od)
- omap_device_delete(pdev->archdata.od);
+ omap_device_delete(pdev->archdata.od);
break;
case BUS_NOTIFY_ADD_DEVICE:
if (pdev->dev.of_node)
--
2.4.4
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 2/2] ARM-OMAP2+: Delete an unnecessary check before the function call "of_node_put"
2015-06-25 11:33 ` [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls SF Markus Elfring
2015-06-25 11:38 ` [PATCH 1/2] ARM-OMAP2+: Delete an unnecessary check before the function call "omap_device_delete" SF Markus Elfring
@ 2015-06-25 11:40 ` SF Markus Elfring
2015-07-15 6:41 ` [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls Tony Lindgren
2 siblings, 0 replies; 20+ messages in thread
From: SF Markus Elfring @ 2015-06-25 11:40 UTC (permalink / raw)
To: Tony Lindgren, Russell King, linux-arm-kernel, linux-omap
Cc: LKML, kernel-janitors, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Thu, 25 Jun 2015 13:05:28 +0200
The of_node_put() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
arch/arm/mach-omap2/timer.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index cac46d8..15448221 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -208,8 +208,7 @@ static void __init omap_dmtimer_init(void)
/* If we are a secure device, remove any secure timer nodes */
if ((omap_type() != OMAP2_DEVICE_TYPE_GP)) {
np = omap_get_timer_dt(omap_timer_match, "ti,timer-secure");
- if (np)
- of_node_put(np);
+ of_node_put(np);
}
}
--
2.4.4
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH] video: fbdev: omap2: displays-new: Delete a check before backlight_device_unregister()
[not found] ` <5317A59D.4@users.sourceforge.net>
` (4 preceding siblings ...)
2015-06-25 11:33 ` [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls SF Markus Elfring
@ 2015-06-28 12:36 ` SF Markus Elfring
2016-07-23 17:09 ` [PATCH] memory: omap-gpmc: Delete an unnecessary check before the function call "gpiochip_free_own_desc" SF Markus Elfring
2016-07-23 17:37 ` [PATCH] omapfb: panel-dsi-cm: Delete an unnecessary check before backlight_device_unregister() SF Markus Elfring
7 siblings, 0 replies; 20+ messages in thread
From: SF Markus Elfring @ 2015-06-28 12:36 UTC (permalink / raw)
To: Jean-Christophe Plagniol-Villard, Tomi Valkeinen, linux-omap,
linux-fbdev
Cc: LKML, kernel-janitors, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 28 Jun 2015 14:30:17 +0200
The backlight_device_unregister() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c b/drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c
index 3414c26..d2caa41 100644
--- a/drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c
+++ b/drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c
@@ -1323,8 +1323,7 @@ static int dsicm_probe(struct platform_device *pdev)
return 0;
err_sysfs_create:
- if (bldev != NULL)
- backlight_device_unregister(bldev);
+ backlight_device_unregister(bldev);
err_bl:
destroy_workqueue(ddata->workqueue);
err_reg:
--
2.4.4
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH] ARM: OMAP2: Delete unnecessary checks before three function calls
2014-11-22 10:00 ` [PATCH 1/1] ARM: OMAP2: Deletion of unnecessary checks before three function calls SF Markus Elfring
@ 2015-06-30 12:10 ` SF Markus Elfring
2015-07-16 5:55 ` Paul Walmsley
0 siblings, 1 reply; 20+ messages in thread
From: SF Markus Elfring @ 2015-06-30 12:10 UTC (permalink / raw)
To: Benoît Cousson, Paul Walmsley, Russell King, Tony Lindgren,
linux-arm-kernel, linux-omap
Cc: LKML, kernel-janitors, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 30 Jun 2015 14:00:16 +0200
The functions clk_disable(), of_node_put() and omap_device_delete() test
whether their argument is NULL and then return immediately.
Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
arch/arm/mach-omap2/omap_device.c | 3 +--
arch/arm/mach-omap2/omap_hwmod.c | 5 +----
arch/arm/mach-omap2/timer.c | 3 +--
3 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c
index 4cb8fd9..196366e 100644
--- a/arch/arm/mach-omap2/omap_device.c
+++ b/arch/arm/mach-omap2/omap_device.c
@@ -193,8 +193,7 @@ static int _omap_device_notifier_call(struct notifier_block *nb,
switch (event) {
case BUS_NOTIFY_DEL_DEVICE:
- if (pdev->archdata.od)
- omap_device_delete(pdev->archdata.od);
+ omap_device_delete(pdev->archdata.od);
break;
case BUS_NOTIFY_ADD_DEVICE:
if (pdev->dev.of_node)
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
index d78c12e..1091ee7 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -921,10 +921,7 @@ static int _disable_clocks(struct omap_hwmod *oh)
int i = 0;
pr_debug("omap_hwmod: %s: disabling clocks\n", oh->name);
-
- if (oh->_clk)
- clk_disable(oh->_clk);
-
+ clk_disable(oh->_clk);
p = oh->slave_ports.next;
while (i < oh->slaves_cnt) {
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index cac46d8..15448221 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -208,8 +208,7 @@ static void __init omap_dmtimer_init(void)
/* If we are a secure device, remove any secure timer nodes */
if ((omap_type() != OMAP2_DEVICE_TYPE_GP)) {
np = omap_get_timer_dt(omap_timer_match, "ti,timer-secure");
- if (np)
- of_node_put(np);
+ of_node_put(np);
}
}
--
2.4.5
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls
2015-06-25 11:33 ` [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls SF Markus Elfring
2015-06-25 11:38 ` [PATCH 1/2] ARM-OMAP2+: Delete an unnecessary check before the function call "omap_device_delete" SF Markus Elfring
2015-06-25 11:40 ` [PATCH 2/2] ARM-OMAP2+: Delete an unnecessary check before the function call "of_node_put" SF Markus Elfring
@ 2015-07-15 6:41 ` Tony Lindgren
2 siblings, 0 replies; 20+ messages in thread
From: Tony Lindgren @ 2015-07-15 6:41 UTC (permalink / raw)
To: SF Markus Elfring
Cc: Russell King, linux-arm-kernel, linux-omap, LKML, kernel-janitors,
Julia Lawall
* SF Markus Elfring <elfring@users.sourceforge.net> [150625 04:35]:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Thu, 25 Jun 2015 13:24:35 +0200
>
> Some functions which release a system resource tolerate the passing
> of a null pointer. I do not see a need because of this fact
> that a function caller repeats a corresponding check.
>
> Markus Elfring (2):
> Delete a check before the function call "omap_device_delete"
> Delete a check before the function call "of_node_put"
>
> arch/arm/mach-omap2/omap_device.c | 3 +--
> arch/arm/mach-omap2/timer.c | 3 +--
> 2 files changed, 2 insertions(+), 4 deletions(-)
Applying both into omap-for-v4.3/soc thanks.
Tony
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] ARM: OMAP2: Delete unnecessary checks before three function calls
2015-06-30 12:10 ` [PATCH] ARM: OMAP2: Delete " SF Markus Elfring
@ 2015-07-16 5:55 ` Paul Walmsley
2015-07-16 6:23 ` Tony Lindgren
2015-07-16 6:40 ` SF Markus Elfring
0 siblings, 2 replies; 20+ messages in thread
From: Paul Walmsley @ 2015-07-16 5:55 UTC (permalink / raw)
To: SF Markus Elfring
Cc: Benoît Cousson, Russell King, Tony Lindgren,
linux-arm-kernel, linux-omap, LKML, kernel-janitors, Julia Lawall
Hello Markus
On Tue, 30 Jun 2015, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Tue, 30 Jun 2015 14:00:16 +0200
>
> The functions clk_disable(), of_node_put() and omap_device_delete() test
> whether their argument is NULL and then return immediately.
> Thus the test around the call is not needed.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Thanks for the patch. I have to say, I am a bit leery about applying the
omap_device.c and omap_hwmod.c changes, since the called functions --
omap_device_delete() and clk_disable() -- don't explicitly document that
NULLs are allowed to be passed in. So there's no explicit contract that
callers can rely upon, to (at least in theory) prevent those internal NULL
pointer checks from being removed.
So I would suggest that those two functions' kerneldoc be patched first to
explicitly state that passing in a NULL pointer is allowed. Then I would
feel a bit more comfortable applying the omap_device.c and omap_hwmod.c
changes.
The kerneldoc for of_node_put() does explicitly allow NULLs to be passed
in. So I'll apply that change now for v4.3, touching up the commit
message accordingly.
regards,
- Paul
> ---
> arch/arm/mach-omap2/omap_device.c | 3 +--
> arch/arm/mach-omap2/omap_hwmod.c | 5 +----
> arch/arm/mach-omap2/timer.c | 3 +--
> 3 files changed, 3 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c
> index 4cb8fd9..196366e 100644
> --- a/arch/arm/mach-omap2/omap_device.c
> +++ b/arch/arm/mach-omap2/omap_device.c
> @@ -193,8 +193,7 @@ static int _omap_device_notifier_call(struct notifier_block *nb,
>
> switch (event) {
> case BUS_NOTIFY_DEL_DEVICE:
> - if (pdev->archdata.od)
> - omap_device_delete(pdev->archdata.od);
> + omap_device_delete(pdev->archdata.od);
> break;
> case BUS_NOTIFY_ADD_DEVICE:
> if (pdev->dev.of_node)
> diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
> index d78c12e..1091ee7 100644
> --- a/arch/arm/mach-omap2/omap_hwmod.c
> +++ b/arch/arm/mach-omap2/omap_hwmod.c
> @@ -921,10 +921,7 @@ static int _disable_clocks(struct omap_hwmod *oh)
> int i = 0;
>
> pr_debug("omap_hwmod: %s: disabling clocks\n", oh->name);
> -
> - if (oh->_clk)
> - clk_disable(oh->_clk);
> -
> + clk_disable(oh->_clk);
> p = oh->slave_ports.next;
>
> while (i < oh->slaves_cnt) {
> diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
> index cac46d8..15448221 100644
> --- a/arch/arm/mach-omap2/timer.c
> +++ b/arch/arm/mach-omap2/timer.c
> @@ -208,8 +208,7 @@ static void __init omap_dmtimer_init(void)
> /* If we are a secure device, remove any secure timer nodes */
> if ((omap_type() != OMAP2_DEVICE_TYPE_GP)) {
> np = omap_get_timer_dt(omap_timer_match, "ti,timer-secure");
> - if (np)
> - of_node_put(np);
> + of_node_put(np);
> }
> }
>
> --
> 2.4.5
>
- Paul
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] ARM: OMAP2: Delete unnecessary checks before three function calls
2015-07-16 5:55 ` Paul Walmsley
@ 2015-07-16 6:23 ` Tony Lindgren
2015-07-16 14:06 ` Paul Walmsley
2015-07-16 6:40 ` SF Markus Elfring
1 sibling, 1 reply; 20+ messages in thread
From: Tony Lindgren @ 2015-07-16 6:23 UTC (permalink / raw)
To: Paul Walmsley
Cc: SF Markus Elfring, Benoît Cousson, Russell King,
linux-arm-kernel, linux-omap, LKML, kernel-janitors, Julia Lawall
* Paul Walmsley <paul@pwsan.com> [150715 22:58]:
> Hello Markus
>
> On Tue, 30 Jun 2015, SF Markus Elfring wrote:
>
> > From: Markus Elfring <elfring@users.sourceforge.net>
> > Date: Tue, 30 Jun 2015 14:00:16 +0200
> >
> > The functions clk_disable(), of_node_put() and omap_device_delete() test
> > whether their argument is NULL and then return immediately.
> > Thus the test around the call is not needed.
> >
> > This issue was detected by using the Coccinelle software.
> >
> > Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
>
> Thanks for the patch. I have to say, I am a bit leery about applying the
> omap_device.c and omap_hwmod.c changes, since the called functions --
> omap_device_delete() and clk_disable() -- don't explicitly document that
> NULLs are allowed to be passed in. So there's no explicit contract that
> callers can rely upon, to (at least in theory) prevent those internal NULL
> pointer checks from being removed.
>
> So I would suggest that those two functions' kerneldoc be patched first to
> explicitly state that passing in a NULL pointer is allowed. Then I would
> feel a bit more comfortable applying the omap_device.c and omap_hwmod.c
> changes.
>
> The kerneldoc for of_node_put() does explicitly allow NULLs to be passed
> in. So I'll apply that change now for v4.3, touching up the commit
> message accordingly.
I have them applied from a later thread already, but will drop both in
my branch as I have not pushed them out yet.
Regards,
Tony
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ARM: OMAP2: Delete unnecessary checks before three function calls
2015-07-16 5:55 ` Paul Walmsley
2015-07-16 6:23 ` Tony Lindgren
@ 2015-07-16 6:40 ` SF Markus Elfring
1 sibling, 0 replies; 20+ messages in thread
From: SF Markus Elfring @ 2015-07-16 6:40 UTC (permalink / raw)
To: Paul Walmsley
Cc: Benoît Cousson, Russell King, Tony Lindgren,
linux-arm-kernel, linux-omap, LKML, kernel-janitors, Julia Lawall
> I have to say, I am a bit leery about applying the omap_device.c and
> omap_hwmod.c changes, since the called functions -- omap_device_delete()
> and clk_disable() -- don't explicitly document that NULLs are allowed
> to be passed in.
How are the chances to improve documentation around such implementation details?
> So there's no explicit contract that callers can rely upon, to (at least
> in theory) prevent those internal NULL pointer checks from being removed.
Are there any additional variations to consider for source files from different
processor architectures?
> So I would suggest that those two functions' kerneldoc be patched first to
> explicitly state that passing in a NULL pointer is allowed.
Should my static source code analysis approach help you any more to clarify
further open issues?
> So I'll apply that change now for v4.3, touching up the commit message accordingly.
Thanks for your constructive feedback.
>> arch/arm/mach-omap2/omap_device.c | 3 +--
>> arch/arm/mach-omap2/omap_hwmod.c | 5 +----
>> arch/arm/mach-omap2/timer.c | 3 +--
Did Tony Lindgren pick a similar update suggestion up, too?
https://lkml.org/lkml/2015/7/15/112
Regards,
Markus
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] ARM: OMAP2: Delete unnecessary checks before three function calls
2015-07-16 6:23 ` Tony Lindgren
@ 2015-07-16 14:06 ` Paul Walmsley
2015-07-16 16:28 ` Tony Lindgren
0 siblings, 1 reply; 20+ messages in thread
From: Paul Walmsley @ 2015-07-16 14:06 UTC (permalink / raw)
To: Tony Lindgren
Cc: SF Markus Elfring, Benoît Cousson, Russell King,
linux-arm-kernel, linux-omap, LKML, kernel-janitors, Julia Lawall
On Wed, 15 Jul 2015, Tony Lindgren wrote:
> * Paul Walmsley <paul@pwsan.com> [150715 22:58]:
> > Hello Markus
> >
> > On Tue, 30 Jun 2015, SF Markus Elfring wrote:
> >
> > > From: Markus Elfring <elfring@users.sourceforge.net>
> > > Date: Tue, 30 Jun 2015 14:00:16 +0200
> > >
> > > The functions clk_disable(), of_node_put() and omap_device_delete() test
> > > whether their argument is NULL and then return immediately.
> > > Thus the test around the call is not needed.
> > >
> > > This issue was detected by using the Coccinelle software.
> > >
> > > Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> >
> > Thanks for the patch. I have to say, I am a bit leery about applying the
> > omap_device.c and omap_hwmod.c changes, since the called functions --
> > omap_device_delete() and clk_disable() -- don't explicitly document that
> > NULLs are allowed to be passed in. So there's no explicit contract that
> > callers can rely upon, to (at least in theory) prevent those internal NULL
> > pointer checks from being removed.
> >
> > So I would suggest that those two functions' kerneldoc be patched first to
> > explicitly state that passing in a NULL pointer is allowed. Then I would
> > feel a bit more comfortable applying the omap_device.c and omap_hwmod.c
> > changes.
> >
> > The kerneldoc for of_node_put() does explicitly allow NULLs to be passed
> > in. So I'll apply that change now for v4.3, touching up the commit
> > message accordingly.
>
> I have them applied from a later thread already, but will drop both in
> my branch as I have not pushed them out yet.
Oops sorry about stepping on your toes - I obviously missed that followup.
- Paul
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH] ARM: OMAP2: Delete unnecessary checks before three function calls
2015-07-16 14:06 ` Paul Walmsley
@ 2015-07-16 16:28 ` Tony Lindgren
0 siblings, 0 replies; 20+ messages in thread
From: Tony Lindgren @ 2015-07-16 16:28 UTC (permalink / raw)
To: Paul Walmsley
Cc: SF Markus Elfring, Benoît Cousson, Russell King,
linux-arm-kernel, linux-omap, LKML, kernel-janitors, Julia Lawall
* Paul Walmsley <paul@pwsan.com> [150716 07:09]:
> On Wed, 15 Jul 2015, Tony Lindgren wrote:
>
> > * Paul Walmsley <paul@pwsan.com> [150715 22:58]:
> > > Hello Markus
> > >
> > > On Tue, 30 Jun 2015, SF Markus Elfring wrote:
> > >
> > > > From: Markus Elfring <elfring@users.sourceforge.net>
> > > > Date: Tue, 30 Jun 2015 14:00:16 +0200
> > > >
> > > > The functions clk_disable(), of_node_put() and omap_device_delete() test
> > > > whether their argument is NULL and then return immediately.
> > > > Thus the test around the call is not needed.
> > > >
> > > > This issue was detected by using the Coccinelle software.
> > > >
> > > > Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> > >
> > > Thanks for the patch. I have to say, I am a bit leery about applying the
> > > omap_device.c and omap_hwmod.c changes, since the called functions --
> > > omap_device_delete() and clk_disable() -- don't explicitly document that
> > > NULLs are allowed to be passed in. So there's no explicit contract that
> > > callers can rely upon, to (at least in theory) prevent those internal NULL
> > > pointer checks from being removed.
> > >
> > > So I would suggest that those two functions' kerneldoc be patched first to
> > > explicitly state that passing in a NULL pointer is allowed. Then I would
> > > feel a bit more comfortable applying the omap_device.c and omap_hwmod.c
> > > changes.
> > >
> > > The kerneldoc for of_node_put() does explicitly allow NULLs to be passed
> > > in. So I'll apply that change now for v4.3, touching up the commit
> > > message accordingly.
> >
> > I have them applied from a later thread already, but will drop both in
> > my branch as I have not pushed them out yet.
>
> Oops sorry about stepping on your toes - I obviously missed that followup.
No problem :)
Tony
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH] memory: omap-gpmc: Delete an unnecessary check before the function call "gpiochip_free_own_desc"
[not found] ` <5317A59D.4@users.sourceforge.net>
` (5 preceding siblings ...)
2015-06-28 12:36 ` [PATCH] video: fbdev: omap2: displays-new: Delete a check before backlight_device_unregister() SF Markus Elfring
@ 2016-07-23 17:09 ` SF Markus Elfring
2016-08-01 9:32 ` Roger Quadros
2016-07-23 17:37 ` [PATCH] omapfb: panel-dsi-cm: Delete an unnecessary check before backlight_device_unregister() SF Markus Elfring
7 siblings, 1 reply; 20+ messages in thread
From: SF Markus Elfring @ 2016-07-23 17:09 UTC (permalink / raw)
To: linux-omap, Roger Quadros, Tony Lindgren
Cc: LKML, kernel-janitors, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sat, 23 Jul 2016 18:54:02 +0200
The gpiochip_free_own_desc() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/memory/omap-gpmc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c
index 869c83f..e138875 100644
--- a/drivers/memory/omap-gpmc.c
+++ b/drivers/memory/omap-gpmc.c
@@ -2143,9 +2143,7 @@ err_child_fail:
ret = -ENODEV;
err_cs:
- if (waitpin_desc)
- gpiochip_free_own_desc(waitpin_desc);
-
+ gpiochip_free_own_desc(waitpin_desc);
err:
gpmc_cs_free(cs);
--
2.9.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH] omapfb: panel-dsi-cm: Delete an unnecessary check before backlight_device_unregister()
[not found] ` <5317A59D.4@users.sourceforge.net>
` (6 preceding siblings ...)
2016-07-23 17:09 ` [PATCH] memory: omap-gpmc: Delete an unnecessary check before the function call "gpiochip_free_own_desc" SF Markus Elfring
@ 2016-07-23 17:37 ` SF Markus Elfring
7 siblings, 0 replies; 20+ messages in thread
From: SF Markus Elfring @ 2016-07-23 17:37 UTC (permalink / raw)
To: linux-fbdev, linux-omap, Dave Airlie,
Jean-Christophe Plagniol-Villard, Peter Ujfalusi, Rob Clark,
Tomi Valkeinen
Cc: LKML, kernel-janitors, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sat, 23 Jul 2016 19:29:28 +0200
The backlight_device_unregister() function tests whether its argument
is NULL and then returns immediately.
Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c b/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
index b58012b..9d308db 100644
--- a/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
+++ b/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
@@ -1283,8 +1283,7 @@ static int dsicm_probe(struct platform_device *pdev)
return 0;
err_sysfs_create:
- if (bldev != NULL)
- backlight_device_unregister(bldev);
+ backlight_device_unregister(bldev);
err_bl:
destroy_workqueue(ddata->workqueue);
err_reg:
--
2.9.2
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH] memory: omap-gpmc: Delete an unnecessary check before the function call "gpiochip_free_own_desc"
2016-07-23 17:09 ` [PATCH] memory: omap-gpmc: Delete an unnecessary check before the function call "gpiochip_free_own_desc" SF Markus Elfring
@ 2016-08-01 9:32 ` Roger Quadros
0 siblings, 0 replies; 20+ messages in thread
From: Roger Quadros @ 2016-08-01 9:32 UTC (permalink / raw)
To: SF Markus Elfring, linux-omap, Tony Lindgren
Cc: LKML, kernel-janitors, Julia Lawall
Hi Markus,
On 23/07/16 20:09, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sat, 23 Jul 2016 18:54:02 +0200
>
> The gpiochip_free_own_desc() function tests whether its argument is NULL
> and then returns immediately. Thus the test around the call is not needed.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---
> drivers/memory/omap-gpmc.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c
> index 869c83f..e138875 100644
> --- a/drivers/memory/omap-gpmc.c
> +++ b/drivers/memory/omap-gpmc.c
> @@ -2143,9 +2143,7 @@ err_child_fail:
> ret = -ENODEV;
>
> err_cs:
> - if (waitpin_desc)
> - gpiochip_free_own_desc(waitpin_desc);
> -
> + gpiochip_free_own_desc(waitpin_desc);
> err:
> gpmc_cs_free(cs);
>
>
This looks good to me. I will queue this for v4.8. Thanks.
cheers,
-roger
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2016-08-01 9:32 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <5307CAA2.8060406@users.sourceforge.net>
[not found] ` <alpine.DEB.2.02.1402212321410.2043@localhost6.localdomain6>
[not found] ` <530A086E.8010901@users.sourceforge.net>
[not found] ` <alpine.DEB.2.02.1402231635510.1985@localhost6.localdomain6>
[not found] ` <530A72AA.3000601@users.sourceforge.net>
[not found] ` <alpine.DEB.2.02.1402240658210.2090@localhost6.localdomain6>
[not found] ` <530B5FB6.6010207@users.sourceforge.net>
[not found] ` <alpine.DEB.2.10.1402241710370.2074@hadrien>
[not found] ` <530C5E18.1020800@users.sourceforge.net>
[not found] ` <alpine.DEB.2.10.1402251014170.2080@hadrien>
[not found] ` <530CD2C4.4050903@users.sourceforge.net>
[not found] ` <alpine.DEB.2.10.1402251840450.7035@hadrien>
[not found] ` <530CF8FF.8080600@users.sourceforge.net>
[not found] ` <alpine.DEB.2.02.1402252117150.2047@localhost6.localdomain6>
[not found] ` <530DD06F.4090703@users.sourceforge.net>
[not found] ` <alpine.DEB.2.02.1402262129250.2221@localhost6.localdomain6>
[not found] ` <5317A59D.4@users.so urceforge.net>
[not found] ` <5317A59D.4@users.sourceforge.net>
2014-11-17 13:15 ` ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call "kfree" SF Markus Elfring
2014-11-17 19:11 ` Jarkko Nikula
2014-11-18 9:40 ` Mark Brown
2014-11-22 10:00 ` [PATCH 1/1] ARM: OMAP2: Deletion of unnecessary checks before three function calls SF Markus Elfring
2015-06-30 12:10 ` [PATCH] ARM: OMAP2: Delete " SF Markus Elfring
2015-07-16 5:55 ` Paul Walmsley
2015-07-16 6:23 ` Tony Lindgren
2015-07-16 14:06 ` Paul Walmsley
2015-07-16 16:28 ` Tony Lindgren
2015-07-16 6:40 ` SF Markus Elfring
2014-11-23 13:14 ` [PATCH 1/1] video: fbdev-OMAP2: Deletion of unnecessary checks before the function call "i2c_put_adapter" SF Markus Elfring
2015-02-03 10:21 ` [PATCH] ti-soc-thermal: Delete an unnecessary check before the function call "cpufreq_cooling_unregister" SF Markus Elfring
2015-06-25 11:33 ` [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls SF Markus Elfring
2015-06-25 11:38 ` [PATCH 1/2] ARM-OMAP2+: Delete an unnecessary check before the function call "omap_device_delete" SF Markus Elfring
2015-06-25 11:40 ` [PATCH 2/2] ARM-OMAP2+: Delete an unnecessary check before the function call "of_node_put" SF Markus Elfring
2015-07-15 6:41 ` [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls Tony Lindgren
2015-06-28 12:36 ` [PATCH] video: fbdev: omap2: displays-new: Delete a check before backlight_device_unregister() SF Markus Elfring
2016-07-23 17:09 ` [PATCH] memory: omap-gpmc: Delete an unnecessary check before the function call "gpiochip_free_own_desc" SF Markus Elfring
2016-08-01 9:32 ` Roger Quadros
2016-07-23 17:37 ` [PATCH] omapfb: panel-dsi-cm: Delete an unnecessary check before backlight_device_unregister() SF Markus Elfring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).