Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Replaced old SSI function with new macros jira id - ODUHIGH-212
[o-du/l2.git]
/
src
/
5gnrsch
/
rg_sch_utl_clist.c
diff --git
a/src/5gnrsch/rg_sch_utl_clist.c
b/src/5gnrsch/rg_sch_utl_clist.c
index
ff19314
..
1d66438
100755
(executable)
--- a/
src/5gnrsch/rg_sch_utl_clist.c
+++ b/
src/5gnrsch/rg_sch_utl_clist.c
@@
-206,12
+206,12
@@
RgSchRrCList *node; /* node to be removed */
#ifdef ERRCHK
if (lCp == (RgSchRrCListCp *)NULLP)
#ifdef ERRCHK
if (lCp == (RgSchRrCListCp *)NULLP)
-
RETVALUE
(NULLP);
+
return
(NULLP);
#endif
if(lCp->count == 0)
{
#endif
if(lCp->count == 0)
{
-
RETVALUE
(NULLP);
+
return
(NULLP);
}
if (lCp->count == 1)
{
}
if (lCp->count == 1)
{
@@
-220,9
+220,9
@@
RgSchRrCList *node; /* node to be removed */
lCp->first = lCp->crnt = (RgSchRrCList *)NULLP;
lCp->count = 0;
node->next = node->prev = (RgSchRrCList *)NULLP;
lCp->first = lCp->crnt = (RgSchRrCList *)NULLP;
lCp->count = 0;
node->next = node->prev = (RgSchRrCList *)NULLP;
-
RETVALUE
(node);
+
return
(node);
}
}
-
RETVALUE
(NULLP);
+
return
(NULLP);
}
if (lCp->first == node)
}
if (lCp->first == node)
@@
-238,7
+238,7
@@
RgSchRrCList *node; /* node to be removed */
/* Adding this check and guarding the decrement of counter when
node is deleted with reshuffling */
lCp->count--;
/* Adding this check and guarding the decrement of counter when
node is deleted with reshuffling */
lCp->count--;
-
RETVALUE
(node);
+
return
(node);
}
if(node->prev && node->next)
}
if(node->prev && node->next)
@@
-252,7
+252,7
@@
RgSchRrCList *node; /* node to be removed */
lCp->crnt = node->next;
}
node->next = node->prev = (RgSchRrCList *)NULLP;
lCp->crnt = node->next;
}
node->next = node->prev = (RgSchRrCList *)NULLP;
-
RETVALUE
(node);
+
return
(node);
} /* end of rgSCHRrCListDelFrm */
/*
} /* end of rgSCHRrCListDelFrm */
/*