Thread (9 messages) flat view 9 messages, 3 authors, 2012-11-26

Re: [PATCH 4/5] adaptername: Remove not needed empty remove callback

From: Szymon Janc <hidden>
Date: 2012-11-26 10:52:34

On Monday 26 of November 2012 12:45:30 Anderson Lizardo wrote:
Hi Szymon,
Hi Anderson,
On Mon, Nov 26, 2012 at 5:07 AM, Szymon Janc [off-list ref] wrote:
quoted
 static struct btd_adapter_driver adaptername_driver = {
        .name   = "adaptername",
        .probe  = adaptername_probe,
-       .remove = adaptername_remove,
+       .remove = NULL,
 };
This variable is static, so not explicitly initialized members will be NULL.
Yes, yet according to code style for bluez statics should be initialized
explicitly, right? Or this does not count for struct members?

-- 
BR
Szymon Janc
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help