summaryrefslogtreecommitdiff
path: root/src/drivers/net
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2015-11-06 22:20:15 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-11-13 00:52:58 +0100
commit1dcb10eeb6912824ddf257dab8121a2a87260a3d (patch)
treea646c78c3f7eca5f1a2f84ce4b0d55727ae0f63d /src/drivers/net
parent685ab2a2f2335a2366e2338f0425422dd3409403 (diff)
libpayload: queue: Add a helper macro for checking singleton queue
Check if the simple queue consists of only 1 element. BUG=b:24676003 BRANCH=None TEST=Compiles successfully. Change-Id: Ib257a5e6b9042b42c549f8ad8b943e3b75fd8c9c Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 5435d6fec1c4fbb4c04ba5b8c15caff9ee4e50f0 Original-Change-Id: I7a8cb9c4e7e71956e85e65b3e7b8e0af4d354110 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/311256 Original-Commit-Ready: Furquan Shaikh <furquan@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/12412 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers/net')
0 files changed, 0 insertions, 0 deletions