* [PATCH] audio-settings: Remove unwanted check
@ 2010-11-26 12:27 Jeevaka Badrappan
2010-11-26 21:04 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Jeevaka Badrappan @ 2010-11-26 12:27 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 768 bytes --]
---
src/audio-settings.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/audio-settings.c b/src/audio-settings.c
index bf00c54..ed3e7d1 100644
--- a/src/audio-settings.c
+++ b/src/audio-settings.c
@@ -132,7 +132,7 @@ int ofono_audio_settings_driver_register(const struct ofono_audio_settings_drive
{
DBG("driver: %p, name: %s", d, d->name);
- if (!d || !d->probe)
+ if (!d->probe)
return -EINVAL;
g_drivers = g_slist_prepend(g_drivers, (void *) d);
@@ -144,9 +144,6 @@ void ofono_audio_settings_driver_unregister(const struct ofono_audio_settings_dr
{
DBG("driver: %p, name: %s", d, d->name);
- if (!d)
- return;
-
g_drivers = g_slist_remove(g_drivers, (void *) d);
}
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] audio-settings: Remove unwanted check
2010-11-26 12:27 [PATCH] audio-settings: Remove unwanted check Jeevaka Badrappan
@ 2010-11-26 21:04 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2010-11-26 21:04 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 222 bytes --]
Hi Jeevaka,
On 11/26/2010 06:27 AM, Jeevaka Badrappan wrote:
> ---
> src/audio-settings.c | 5 +----
> 1 files changed, 1 insertions(+), 4 deletions(-)
>
Patch has been applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-26 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-26 12:27 [PATCH] audio-settings: Remove unwanted check Jeevaka Badrappan
2010-11-26 21:04 ` Denis Kenzior
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.