slist: Silence a smatch warning
commit8ed668bd420adb8d090e49d5cbe64ab26e22e679
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 18 Jul 2016 09:33:55 +0000 (18 12:33 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 18 Jul 2016 09:33:55 +0000 (18 12:33 +0300)
treeec64f4592ed99954552f6f82e6c7f35217cf0760
parentaefb5fa94825b90e644381582cfcda453ff7ac8d
slist: Silence a smatch warning

Smatch complains that we previously assumed that one_iter.sm could be NULL.

The truth that if either one is NULL then the other is NULL so I could
just remove the second half of the check.  But I guess I want it in for
documentation to show that both are NULL when we exit, otherwise it looks
unbalanced.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_slist.c