(lnd_count): Remove unused local variable.
This commit is contained in:
parent
0e275b8507
commit
b843490799
1 changed files with 0 additions and 2 deletions
|
@ -736,12 +736,10 @@ lnd_count(struct emp_qelem *list)
|
|||
{
|
||||
struct emp_qelem *qp;
|
||||
struct emp_qelem *next;
|
||||
struct ulist *llp;
|
||||
int count = 0;
|
||||
|
||||
for (qp = list->q_back; qp != list; qp = next) {
|
||||
next = qp->q_back;
|
||||
llp = (struct ulist *)qp;
|
||||
++count;
|
||||
}
|
||||
return count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue