Revert "[IOT - 2386] Fix for NULL reference..."
authorDan Mihai <Daniel.Mihai@microsoft.com>
Thu, 22 Jun 2017 19:32:59 +0000 (12:32 -0700)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Tue, 27 Jun 2017 18:19:38 +0000 (18:19 +0000)
commit674fa32da37b0f0f8d449946044ec8603b6040a8
tree2c0ee0c8b9ef72d118b64164b0b26b9cb9c5cb7d
parent25836c3848d5ec57fcaeac293a35fe2762da193b
Revert "[IOT - 2386] Fix for NULL reference..."

This reverts commit 2819a9def15e8b401ee21ab1f941fa2af8a3f41e.

LL_FOREACH_SAFE already checks for NULL list entry, so there is no
need to check a second time inside the loop.

Change-Id: Ia7a33ce6a3c6bb88cd529831af07010729a2badb
Signed-off-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20963
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
plugins/src/pluginlist.c