staging: cxt1e1: sbecom_inline_linux.h: Return NULL instead of 0
Functions returning pointer should return NULL instead of 0. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
55c19aa072
commit
ae91992290
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ OS_mem_token_alloc (size_t size)
|
||||||
if (!skb)
|
if (!skb)
|
||||||
{
|
{
|
||||||
//pr_warning("no mem in OS_mem_token_alloc !\n");
|
//pr_warning("no mem in OS_mem_token_alloc !\n");
|
||||||
return 0;
|
return NULL;
|
||||||
}
|
}
|
||||||
return skb;
|
return skb;
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,7 @@ OS_mem_token_data (void *token)
|
||||||
static inline void *
|
static inline void *
|
||||||
OS_mem_token_next (void *token)
|
OS_mem_token_next (void *token)
|
||||||
{
|
{
|
||||||
return 0;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue