userspace: do not track net_context as a kobject
The socket APIs no longer deal with direct net context pointers. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
a00eff731c
commit
1dc6612d50
|
@ -52,13 +52,6 @@ static struct k_spinlock obj_lock; /* kobj struct data */
|
|||
static struct k_spinlock ucopy_lock; /* copy to/from userspace */
|
||||
static struct k_spinlock ucopy_outer_lock; /* code that calls copies */
|
||||
|
||||
#if defined(CONFIG_NETWORKING) && defined (CONFIG_DYNAMIC_OBJECTS)
|
||||
/* Used by auto-generated obj_size_get() switch body, as we need to
|
||||
* know the size of struct net_context
|
||||
*/
|
||||
#include <net/net_context.h>
|
||||
#endif
|
||||
|
||||
#define MAX_THREAD_BITS (CONFIG_MAX_THREAD_BYTES * 8)
|
||||
|
||||
#ifdef CONFIG_DYNAMIC_OBJECTS
|
||||
|
|
|
@ -82,7 +82,6 @@ kobjects = OrderedDict ([
|
|||
("k_thread", (None, False)),
|
||||
("k_timer", (None, False)),
|
||||
("_k_thread_stack_element", (None, False)),
|
||||
("net_context", ("CONFIG_NETWORKING", False)),
|
||||
("device", (None, False)),
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in a new issue