This is shorter and slightly safer than combining calls to shash_find()
and shash_delete().
Found by Coverity.
Reported-at:
https://scan3.coverity.com/reports.htm#v16889/p10449/fileInstanceId=14762983&defectInstanceId=4305289&mergedDefectId=179850
Signed-off-by: Ben Pfaff
---
ofproto/ofproto.c
On Fri, May 26, 2017 at 10:50:52PM -0700, Ben Pfaff wrote:
> This is shorter and slightly safer than combining calls to shash_find()
> and shash_delete().
>
> Found by Coverity.
>
> Reported-at:
> https://scan3.coverity.com/reports.htm#v16889/p10449/fileInstanceId=14762983&defectInstanceId=43052